WONKY



LOG | FILES | OVERVIEW


#ifndef WONKY_ASSERT_C
#define WONKY_ASSERT_C WONKY_ASSERT_C
#include <wonky_assert.h>


void wonky_assert_function(_Bool wonky_assertion,const char *what_is_asserted,const char *file_of_assertion,const char *function_name,int line,const char *date)
{
	if(!wonky_assertion)
	{
		printf("Assertion failed %s - %s:%d in %s [ %s ]\n",what_is_asserted,file_of_assertion,line,function_name,date);
		exit(1);
	}

}

#endif