library/src/decoders/HTML/BP-HTMLDecoder.cc
// Counts the elements in a set of inputs
Counts the elements in a set of inputs
Counts the elements in a set of inputs
size_t HTMLGetInputCount(P_BP_HTML_INPUT_LIST inputs)
{
	if(!inputs)
		return NULL;
	size_t count = 0;
	for(; inputs; inputs = inputs->next)
		count++;
	return count;
}
size_t HTMLGetInputCount ( P_BP_HTML_INPUT_LIST inputs ) { if ( ! inputs ) return NULL ; size_t count = 0 ; for ( ; inputs ; inputs = inputs -> next ) count ++ ; return count ; }
Counts the elements in a set of inputs
Counts the elements in a set of inputs
// ensure we have inputs // return this counter // iterate through list and return count // return count