diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2016-05-03 09:46:35 -0400 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2016-05-03 09:46:35 -0400 |
commit | ffb353c999bd3d5785b92a3aad78a96ff03a4ced (patch) | |
tree | a83b8a673d1529debe46bfb098355505b5595b32 /gawkapi.h | |
parent | 78169694440b5258ddb20c4d1fe0eb445a479e1f (diff) | |
download | gawk-ffb353c999bd3d5785b92a3aad78a96ff03a4ced.tar.gz |
Add CPP #defines for gawk_api_major_version and gawk_api_minor_version.
Diffstat (limited to 'gawkapi.h')
-rw-r--r-- | gawkapi.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -260,10 +260,13 @@ typedef struct awk_two_way_processor { awk_const struct awk_two_way_processor *awk_const next; /* for use by gawk */ } awk_two_way_processor_t; +#define gawk_api_major_version 1 +#define gawk_api_minor_version 1 + /* Current version of the API. */ enum { - GAWK_API_MAJOR_VERSION = 1, - GAWK_API_MINOR_VERSION = 1 + GAWK_API_MAJOR_VERSION = gawk_api_major_version, + GAWK_API_MINOR_VERSION = gawk_api_minor_version }; /* A number of typedefs related to different types of values. */ |