PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
propgcc
propeller-elf
include
assert.h
Go to the documentation of this file.
1
6
/* it's actually OK to include this file multiple times; we may
7
* change the value of NDEBUG in between, too
8
*/
9
#include <
compiler.h
>
10
11
#undef assert
12
13
#if defined(__cplusplus)
14
extern
"C"
{
15
#endif
16
17
_NORETURN
void
abort(
void
);
18
extern
void
__eprintf(
const
char
*expr,
unsigned
long
line
,
const
char
*filename);
19
31
#if defined(NDEBUG)
32
#define assert(cond) (void)(0)
33
#else
34
#define assert(cond) \
35
((cond) ? 0 : (__eprintf(#cond,(long)(__LINE__), __FILE__), abort(), 0))
36
#endif
37
38
#if defined(__cplusplus)
39
}
40
#endif
compiler.h
Defines features of the compiler being used.
line
void line(int x0, int y0, int x1, int y1, int c)
Plot a line on the oLED screen.
Generated on Fri May 20 2022 16:48:02 for PropWare by
1.8.17