home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga ISO Collection
/
AmigaUtilCD2.iso
/
Programming
/
C
/
OTL-MC6.DMS
/
in.adf
/
incl.lha
/
INCLUDE
/
assert.h
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
C/C++ Source or Header
|
1994-03-15
|
233 b
|
12 lines
#ifndef __INCLUDE_ASSERT_H
#define __INCLUDE_ASSERT_H
#ifdef NDEBUG
#define assert(C)
#else
extern "Asm" void do__assert(char*, char*, unsigned int);
#define assert(C) { if(!(C)) do__assert(#C, __FILE__, __LINE__); }
#endif
#endif