]> 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 0d9c187e303bcbc1653d64783471f647e6920a57..fd059070c6cece156d3be3858eb3e2bd3d4daf81 100644 (file)
@@ -1,5 +1,5 @@
 /*
-** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001.
+** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003.
 ** See ../LICENSE for license information.
 **
 */
@@ -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.038159 seconds and 4 git commands to generate.