diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-11-30 14:24:19 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-11-30 14:24:19 +0200 |
commit | 242ee720a6387f87e05d3eb8e30d2c7061cbf8ef (patch) | |
tree | a078ab30d090201f0ca99492e06e3634f791ce34 /gawkapi.h | |
parent | f2d137e07671bb1158f81e5a772c3f994c69953f (diff) | |
download | egawk-242ee720a6387f87e05d3eb8e30d2c7061cbf8ef.tar.gz egawk-242ee720a6387f87e05d3eb8e30d2c7061cbf8ef.tar.bz2 egawk-242ee720a6387f87e05d3eb8e30d2c7061cbf8ef.zip |
Add awk_true and awk_false to API.
Diffstat (limited to 'gawkapi.h')
-rw-r--r-- | gawkapi.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -113,7 +113,10 @@ extern "C" { #define awk_const const #endif -typedef int awk_bool_t; /* we don't use <stdbool.h> on purpose */ +typedef enum awk_bool { + awk_false = 0, + awk_true +} awk_bool_t; /* we don't use <stdbool.h> on purpose */ /* The information about input files that input parsers need to know: */ typedef struct awk_input { |