platform/platform.c
/*	Sets the name of the currently entered function.
*/
Sets the name of the currently entered function.
Sets the name of the currently entered function .
void plSetErrorFunction(const char *function, ...)
{
	char	out[MAX_FUNCTION_LENGTH];
	va_list args;
	va_start(args, function);
	vsprintf(out, function, args);
	va_end(args);
	strncpy(loc_function, out, sizeof(function));
}
void plSetErrorFunction ( const char * function , ... ) { char out [ MAX_FUNCTION_LENGTH ] ; va_list args ; va_start ( args , function ) ; vsprintf ( out , function , args ) ; va_end ( args ) ; strncpy ( loc_function , out , sizeof ( function ) ) ; }
Sets the name of the currently entered function.
Sets the name of the currently entered function .