Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

assert.h

Go to the documentation of this file.
00001 #ifndef __ndk_assert_h__
00002 #define __ndk_assert_h__
00003 
00004 #include <types.h>
00005 
00006 #ifndef NDEBUG
00007 
00008 #define assert(n) \
00009    _assert(n, __FILE__, __LINE__);
00010 
00011 #else
00012 
00013 #define assert(n) ;
00014 
00015 #endif
00016 
00017 void _assert(uint32 cond, char *fname, uint32 location);
00018 
00019 #endif

Generated on Wed Mar 22 20:36:33 2006 for ndk by  doxygen 1.4.4