diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-12-17 20:43:40 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-12-17 20:43:40 +0200 |
commit | b76409d4d7fe75c018a80c685668cb65769a613c (patch) | |
tree | fdea7f02dd5bc7a7a4de8fb8d544b5be9eaed291 /gawkapi.h | |
parent | 570758ee453fb42451f52a451e75d0a51c732cde (diff) | |
download | gawk-b76409d4d7fe75c018a80c685668cb65769a613c.tar.gz |
Further api doc updates. Simplify lint checking for max args.
Diffstat (limited to 'gawkapi.h')
-rw-r--r-- | gawkapi.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -428,7 +428,12 @@ typedef struct gawk_api { /* Next, registration functions: */ - /* Add a function to the interpreter, returns true upon success */ + /* + * Add a function to the interpreter, returns true upon success. + * Gawk does not modify what func points to, but the extension + * function itself receives this pointer and can modify what it + * points to, thus it's not const. + */ awk_bool_t (*api_add_ext_func)(awk_ext_id_t id, const char *namespace, awk_ext_func_t *func); |