Defines | Functions

my_assert.h File Reference

Provides assert for debugging. More...

#include "prologue.h"
Include dependency graph for my_assert.h:

Go to the source code of this file.

Defines

#define assert   BUG__WE_GOT_OUR_VERSION_OF_ASSERT__PLEASE_CORRECT *** choke me ***
#define MY_ASSERT(exp)   (void)((exp) || (report_assertion_failure(__FILE__,__my_func__,__LINE__,#exp), dump_core()))
#define MY_ASSERT_NOTREACH()
#define MY_ASSERT_TODO(str)

Functions

int dump_core ()
 Forces to dump the core.
int report_assertion_failure (const char *file, const char *func, int line, const char *exp)
 Reports assertion failure to logs, when core dump via NULL pointer dereference is not enabled.

Detailed Description

Provides assert for debugging.

Definition in file my_assert.h.


Generated on Sat Aug 7 2010 15:24:17 for VooDoo cIRCle by doxygen 1.7.1

Get VooDoo cIRCle at SourceForge.net. Fast, secure and Free Open Source software downloads