home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
lclint.zip
/
lclint-2_3h-os2-bin.zip
/
test
/
bool.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-09-03
|
332b
|
20 lines
#ifndef BOOL_H
#define BOOL_H
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE (! FALSE)
#endif
/*@-cppnames@*/
typedef int bool;
/*@=cppnames@*/
# define bool_initMod()
# define bool_unparse(b) ((b) ? "true" : "false" )
# define bool_not(b) ((b) ? FALSE : TRUE)
# define bool_equal(a,b) ((a) ? (b) : !(b))
# endif