New Paste :: Recent Pastes:: Add Line Numbers
A Paste by Anonymous
#define NAME_FUNCTION(name) StackHelper helper;static const char* __FNNAME__=#name; _pushFunctionName(__FNNAME__); #define MASSERT(exp) {static bool ignore=false;if(!exp){_mAssert( __FNNAME__, __FILE__, __LINE__, #exp, ignore);}}