library/src/blockclass/subclasses/BP_CommandLineOptionParser.cc
// add a warning to the individual token (must be ascii/null terminated)
add a warning to the individual token (must be ascii/null terminated)
add a warning to the individual token ( must be ascii / null terminated )
BP_ERROR_T BP_CommandLineOptionParser::addWarningToToken(P_BP_COMMAND_LINE_PARSER_TOKENS token, char *warning_msg)
{
	if(!token || !warning_msg || !this->tq)
		return ERR_FAILURE;
	return BP_ArrayPushDupStringTQ(this->tq, warning_msg, &token->token_warning_msgs, &token->token_warning_n);
}
BP_ERROR_T BP_CommandLineOptionParser :: addWarningToToken ( P_BP_COMMAND_LINE_PARSER_TOKENS token , char * warning_msg ) { if ( ! token || ! warning_msg || ! this -> tq ) return ERR_FAILURE ; return BP_ArrayPushDupStringTQ ( this -> tq , warning_msg , & token -> token_warning_msgs , & token -> token_warning_n ) ; }
add a warning to the individual token (must be ascii/null terminated)
add a warning to the individual token ( must be ascii / null terminated )
// ensure we have a token, warning message, and tail queue allocator // to use for storage. // add the error message using the tail queue string stacking duplicator