diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-10-26 12:47:21 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-10-26 12:47:21 +0200 |
commit | 4a267501525be3157b0d41e9030e9d4a9c7f5897 (patch) | |
tree | ee2b780e8485f9e3faf4ef77bba9126995d08857 /gawkapi.h | |
parent | 1f0d8c64a08d9d19faf9c77e35f77dc46b2f34a9 (diff) | |
download | egawk-4a267501525be3157b0d41e9030e9d4a9c7f5897.tar.gz egawk-4a267501525be3157b0d41e9030e9d4a9c7f5897.tar.bz2 egawk-4a267501525be3157b0d41e9030e9d4a9c7f5897.zip |
API doc additions and related other edits.
Diffstat (limited to 'gawkapi.h')
-rw-r--r-- | gawkapi.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -817,13 +817,16 @@ extern int dl_load(const gawk_api_t *const api_p, awk_ext_id_t id); #if 0 /* Boiler plate code: */ +int plugin_is_GPL_compatible; + static gawk_api_t *const api; static awk_ext_id_t ext_id; +static const char *ext_version = NULL; /* or ... = "some string" */ + static awk_ext_func_t func_table[] = { { "name", do_name, 1 }, /* ... */ }; -static const char *ext_version = NULL; /* or ... = "some string" */ /* EITHER: */ @@ -831,7 +834,8 @@ static awk_bool_t (*init_func)(void) = NULL; /* OR: */ -static awk_bool_t init_my_module(void) +static awk_bool_t +init_my_module(void) { ... } |