]> andersk Git - splint.git/blobdiff - src/Headers/bool.h
Added support for ISO C99 _Bool and stdbool bool/true/false. The
[splint.git] / src / Headers / bool.h
index 03ba2c340b60e8fabeec5ea08a84071d40947b73..fd059070c6cece156d3be3858eb3e2bd3d4daf81 100644 (file)
@@ -8,11 +8,13 @@
 # define BOOL_H
 
 # ifndef FALSE
-# define FALSE 0
+/*@constant bool FALSE=false@*/
+# define FALSE false
 # endif
 
 # ifndef TRUE
-# define TRUE (! FALSE)
+/*@constant bool TRUE=true@*/
+# define TRUE true
 # endif
 
 extern /*@observer@*/ cstring bool_unparse (bool p_b) /*@*/ ;
This page took 0.032322 seconds and 4 git commands to generate.