diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2019-07-08 09:25:01 -0400 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2019-07-08 09:25:01 -0400 |
commit | ae1139c068702ede2d35002bdd14199a2c9eb4d8 (patch) | |
tree | 3c96487aa1509c17a1d6e738e8a2a521b1b8d241 | |
parent | 43d85982525f24742a14b30a888d224f961a01c0 (diff) | |
download | egawk-ae1139c068702ede2d35002bdd14199a2c9eb4d8.tar.gz egawk-ae1139c068702ede2d35002bdd14199a2c9eb4d8.tar.bz2 egawk-ae1139c068702ede2d35002bdd14199a2c9eb4d8.zip |
Bump gawk_api_major_version due to incompatible namespace changes.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | gawkapi.h | 5 |
2 files changed, 12 insertions, 1 deletions
@@ -1,3 +1,11 @@ +2019-07-08 Andrew J. Schorr <aschorr@telemetry-investments.com> + + * gawkapi.h (gawk_api_major_version): Bump from 2 to 3 because the + namespace changes altered the function signatures in gawk_api_t. + And add a comment at the top of the structure with a reminder that + the version number should be bumped whenever the struct is altered + in any way. + 2019-06-30 Arnold D. Robbins <arnold@skeeve.com> * interpret.h (r_interpret): Fix two more cases of warning @@ -296,7 +296,7 @@ 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 2 +#define gawk_api_major_version 3 #define gawk_api_minor_version 0 /* Current version of the API. */ @@ -458,6 +458,9 @@ typedef void *awk_ext_id_t; /* opaque type for extension id */ /* * The API into gawk. Lots of functions here. We hope that they are * logically organized. + * + * !!! If you make any changes to this structure, please remember to bump !!! + * !!! gawk_api_major_version and/or gawk_api_minor_version. !!! */ typedef struct gawk_api { /* First, data fields. */ |