nxs_assert.h

00001 
00012 #ifndef NXS_HEADERS_ASSERT
00013 #define NXS_HEADERS_ASSERT
00014 
00015 #ifdef HAVE_CONFIG_H
00016 #include "config.h"
00017 #endif
00018 
00019 /* MACROS */
00028 #define nxs_assert(_cond) \
00029         nxs_assert_name(nxs, _cond)
00030 
00040 #define nxs_assert_name(_name, _cond) \
00041     do {                                                                    \
00042         typedef int _name ## _assertion_failed[(int)(_cond) * 2 - 1];       \
00043     } while (0)
00044 
00046 #endif

Generated on Thu Dec 20 13:42:46 2007 for NXS Toolkit by  doxygen 1.5.4