diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-03-02 12:13:32 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-03-02 12:13:32 -0500 |
| commit | 59a08ae18e8c8b4b4240af268ce7da585c2fe6ed (patch) | |
| tree | 20efc3430062e543f978dade9d9dc996f6f40a98 | |
| parent | 479579f2234cf20c158c505e288e318d79baefa9 (diff) | |
update documentation
| -rw-r--r-- | src/stdbool/__bool_true_false_are_defined.c | 9 | ||||
| -rw-r--r-- | src/stdbool/bool.c | 8 | ||||
| -rw-r--r-- | src/stdbool/false.c | 8 | ||||
| -rw-r--r-- | src/stdbool/true.c | 8 |
4 files changed, 33 insertions, 0 deletions
diff --git a/src/stdbool/__bool_true_false_are_defined.c b/src/stdbool/__bool_true_false_are_defined.c index 65d76ee0..a311586b 100644 --- a/src/stdbool/__bool_true_false_are_defined.c +++ b/src/stdbool/__bool_true_false_are_defined.c @@ -1,6 +1,15 @@ #include <stdbool.h> + +/** indicate inclusion of <stdbool.h> **/ + #define __bool_true_false_are_defined (1) +/*** +is set to indicate that the standard header HEADER(stdbool.h) has been included, +and the definitions of MACRO(bool), MACRO(true), and MACRO(false) are available. +***/ + /* +VALUE_FIXED(1) STDC(199901) */ diff --git a/src/stdbool/bool.c b/src/stdbool/bool.c index 557a1454..9f8bc863 100644 --- a/src/stdbool/bool.c +++ b/src/stdbool/bool.c @@ -1,6 +1,14 @@ #include <stdbool.h> + +/** boolean type **/ + #define bool _Bool +/*** +provides an alternative spelling for the type TYPE(_Bool). +***/ + /* +VALUE_FIXED(TYPE(_Bool)) STDC(199901) */ diff --git a/src/stdbool/false.c b/src/stdbool/false.c index 15f292d6..0259936d 100644 --- a/src/stdbool/false.c +++ b/src/stdbool/false.c @@ -1,6 +1,14 @@ #include <stdbool.h> + +/** boolean false constant **/ + #define false (0) +/*** +is the false value for the type TYPE(_Bool). +***/ + /* +VALUE_FIXED(0) STDC(199901) */ diff --git a/src/stdbool/true.c b/src/stdbool/true.c index da515b7c..b6288b05 100644 --- a/src/stdbool/true.c +++ b/src/stdbool/true.c @@ -1,6 +1,14 @@ #include <stdbool.h> + +/** boolean true constant **/ + #define true (1) +/*** +is the boolean true value for the type TYPE(_Bool). +***/ + /* +VALUE_FIXED(1) STDC(199901) */ |
