Searched refs:assertion (Results 1 - 2 of 2) sorted by relevance

/haiku/headers/posix/
H A Dassert.h14 assert(0); // this assertion will be triggered
19 assert(0); // this assertion will not be triggered
34 extern void __assert_fail(const char *assertion, const char *file,
48 #define assert(assertion) \
49 ((assertion) ? (void)0 : __assert_fail(#assertion, __FILE__, __LINE__, __PRETTY_FUNCTION__))
/haiku/src/system/libroot/posix/
H A Dassert.cpp24 __assert_fail(const char* assertion, const char* file, unsigned int line, argument
28 assertion);
34 debugger(assertion);

Completed in 82 milliseconds