Annotation of MiNT/src/assert.h, revision 1.1

1.1     ! root        1: /*
        !             2: 
        !             3: Copyright 1990,1991 Eric R. Smith. All rights reserved.
        !             4: 
        !             5: */
        !             6: 
        !             7: 
        !             8: 
        !             9: #ifdef NDEBUG
        !            10: 
        !            11: #define assert(expression)
        !            12: 
        !            13: #else
        !            14: 
        !            15: # ifdef __STDC__
        !            16: 
        !            17: #define assert(expression) \
        !            18: 
        !            19:        ((expression) ? (void)0 : FATAL("assert(`%s') failed at line %ld of %s.", \
        !            20: 
        !            21:            #expression, (long)__LINE__, __FILE__))
        !            22: 
        !            23: # else
        !            24: 
        !            25: #define assert(expression) if(expression) FATAL("assert(%s) failed", \
        !            26: 
        !            27:            "expression")
        !            28: 
        !            29: # endif
        !            30: 
        !            31: 
        !            32: 
        !            33: #endif /* NDEBUG */
        !            34: 

unix.superglobalmegacorp.com

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