Annotation of researchv10no/cmd/lcc/include/mips_iris/assert.h, revision 1.1.1.1

1.1       root        1: #ifndef __ASSERT
                      2: #define __ASSERT
                      3: 
                      4: void assert(int);
                      5: 
                      6: #endif /* __ASSERT */
                      7: 
                      8: #undef assert
                      9: #ifdef NDEBUG
                     10: #define assert(ignore) ((void)0)
                     11: #else
                     12: extern int _assert(char *, char *, unsigned);
                     13: #define assert(e) ((void)((e)||_assert(#e, __FILE__, __LINE__)))
                     14: #endif /* NDEBUG */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.