home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
d
/
desklib
/
!DeskLib
/
h
/
WAssert
< prev
next >
Wrap
Text File
|
1996-05-21
|
428b
|
21 lines
#ifdef __cplusplus
extern "C" {
#endif
#ifndef __Desk_WAssert_h
#define __Desk_WAssert_h
extern void Desk_WAssert__wassert(char *);
#else
# undef assert
#endif
#ifndef _DEBUG
# define assert(ignore) ((void)0)
#else
# define __SR(x) __VL(x)
# define __VL(x) #x
# define assert(e) ((e) ? (void)0 : Desk_WAssert__wassert("Assertion " #e " failed at line " __SR(__LINE__) " of file " __FILE__))
#ifdef __cplusplus
}
#endif
#endif