File: bool.h

package info (click to toggle)
lclint-doc 2.4b-2
  • links: PTS
  • area: main
  • in suites: potato, woody
  • size: 2,360 kB
  • ctags: 2,164
  • sloc: ansic: 402; makefile: 122
file content (19 lines) | stat: -rw-r--r-- 302 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef BOOL_H
#define BOOL_H

#ifndef FALSE
#define FALSE 0
#endif

#ifndef TRUE
#define TRUE (! FALSE)
#endif

typedef int bool;

# 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