Lines Matching defs:assert
2 Provides a definition of the assert macro used to insert diagnostic messages
5 This header file defines the assert macro and refers to the NDEBUG macro,
8 Unlike other header files, assert.h is designed to be included multiple
11 If the NDEBUG macro is defined at the point where assert.h
12 is included, the assert macro is defined so as to not produce code.
30 #undef assert ///< Remove any existing definition for assert.
32 /** Internal helper function for the assert macro.
43 @param[in] file The name of the file containing the assert.
44 @param[in] func The name of the function containing the assert.
45 @param[in] line The line number the assert is located on.
46 @param[in] failedexpr A literal representation of the assert's expression.
55 /** The assert macro puts diagnostic tests into programs; it expands to a
59 FALSE (that is, compares equal to 0), the assert macro writes information
75 #define assert(Expression) /* ignored */
78 #define assert(Expression) ((Expression) ? (void)0 :\
82 /* END of file assert.h */