![]() |
My Project
|
assertions for Factory More...
#include <stdio.h>#include <stdlib.h>Go to the source code of this file.
| #define __ASSERT | ( | expression, | |
| message, | |||
| file, | |||
| line | |||
| ) |
Definition at line 57 of file cf_assert.h.
| #define __ASSERT1 | ( | expression, | |
| message, | |||
| parameter1, | |||
| file, | |||
| line | |||
| ) |
Definition at line 60 of file cf_assert.h.
| #define __WARN | ( | expression, | |
| message, | |||
| file, | |||
| line | |||
| ) |
Definition at line 69 of file cf_assert.h.
| #define ASSERT | ( | expression, | |
| message | |||
| ) | ((void)((expression) ? 0 : __ASSERT(#expression, message, __FILE__, __LINE__))) |
Definition at line 99 of file cf_assert.h.
| #define ASSERT1 | ( | expression, | |
| message, | |||
| parameter1 | |||
| ) | ((void)((expression) ? 0 : __ASSERT1(#expression, message, parameter1, __FILE__, __LINE__))) |
Definition at line 101 of file cf_assert.h.
| #define PVIRT_BOOL | ( | msg | ) | { fprintf( stderr, "pure method( " msg " ) called\n" ); abort(); return false; } |
Definition at line 121 of file cf_assert.h.
| #define PVIRT_CHARCC | ( | msg | ) | { fprintf( stderr, "pure method( " msg " ) called\n" ); abort(); return 0; } |
Definition at line 125 of file cf_assert.h.
| #define PVIRT_INT | ( | msg | ) | { fprintf( stderr, "pure method( " msg " ) called\n" ); abort(); return 0; } |
Definition at line 123 of file cf_assert.h.
| #define PVIRT_INTCF | ( | msg | ) | { fprintf( stderr, "pure method( " msg " ) called\n" ); abort(); return 0; } |
Definition at line 119 of file cf_assert.h.
Definition at line 117 of file cf_assert.h.
| #define STICKYASSERT | ( | expression, | |
| message | |||
| ) | ((void)((expression) ? 0 : __ASSERT(#expression, message, __FILE__, __LINE__))) |
Definition at line 64 of file cf_assert.h.
| #define STICKYASSERT1 | ( | expression, | |
| message, | |||
| parameter1 | |||
| ) | ((void)((expression) ? 0 : __ASSERT1(#expression, message, parameter1, __FILE__, __LINE__))) |
Definition at line 66 of file cf_assert.h.
| #define STICKYWARN | ( | expression, | |
| message | |||
| ) | ((void)((expression) ? 0 : __WARN(#expression, message, __FILE__, __LINE__))) |
Definition at line 72 of file cf_assert.h.
| #define WARN | ( | expression, | |
| message | |||
| ) | ((void)((expression) ? 0 : __WARN(#expression, message, __FILE__, __LINE__))) |
Definition at line 104 of file cf_assert.h.