diff options
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) { ... } |