library/src/utility/BP-StringUtilities.cc
// If blockparty is in a debug configuration, this will print out debug info,
// if the library is not in a debug configuration, this will print nothing.
If blockparty is in a debug configuration, this will print out debug info,
if the library is not in a debug configuration, this will print nothing.
If blockparty is in a debug configuration this will print out debug info if the library is not in a debug configuration this will print nothing .
BP_ERROR_T BP_dbg_printf(const char * fmt, ...)
{
#if BP_LIBRARY_DEBUG_CONFIGURATION_ENABLED == 1
	va_list args;
	va_start(args, fmt);
	vfprintf(stdout, fmt, args);
	va_end(args);
#endif
	return ERR_SUCCESS;
}
BP_ERROR_T BP_dbg_printf ( const char * fmt , ... ) { #if BP_LIBRARY_DEBUG_CONFIGURATION_ENABLED == 1 va_list args ; va_start ( args , fmt ) ; vfprintf ( stdout , fmt , args ) ; va_end ( args ) ; #endif return ERR_SUCCESS ; }
If blockparty is in a debug configuration, this will print out debug info,
if the library is not in a debug configuration, this will print nothing.
If blockparty is in a debug configuration this will print out debug info if the library is not in a debug configuration this will print nothing .
// variable argument list // restore the normal colors // end vargs // return indicating success