Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 17 lines (15 sloc) 0.351 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
namespace factor
{
    void abort();
}

#ifdef FACTOR_DEBUG
#define FACTOR_ASSERT(condition) ((condition) \
? (void)0 \
: ( \
::fprintf(stderr, "assertion \"%s\" failed: file \"%s\", line %d\n", \
#condition, __FILE__, __LINE__), \
::factor::abort() \
))
#else
#define FACTOR_ASSERT(condition) ((void)0)
#endif
Something went wrong with that request. Please try again.