diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-09-17 20:34:19 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-09-17 20:34:19 +0300 |
commit | bbe9adae884c1c2cc7687c74b9d3722f1f7f61e7 (patch) | |
tree | abfa8fdd82ac854c5ec00f9771bdd22940c12b64 /doc/gawk.texi | |
parent | 5ce26d128178f27fea3ad2ce5cb9dc9c77834757 (diff) | |
download | egawk-bbe9adae884c1c2cc7687c74b9d3722f1f7f61e7.tar.gz egawk-bbe9adae884c1c2cc7687c74b9d3722f1f7f61e7.tar.bz2 egawk-bbe9adae884c1c2cc7687c74b9d3722f1f7f61e7.zip |
Fix gawkapi.h to be usable with C++.
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r-- | doc/gawk.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi index 5512179b..ba28fc09 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -33279,9 +33279,9 @@ Once you have a record representing your extension function, you register it with @command{gawk} using this API function: @table @code -@item awk_bool_t add_ext_func(const char *namespace, awk_ext_func_t *func); +@item awk_bool_t add_ext_func(const char *name_space, awk_ext_func_t *func); This function returns true upon success, false otherwise. -The @code{namespace} parameter is currently not used; you should pass in an +The @code{name_space} parameter is currently not used; you should pass in an empty string (@code{""}). The @code{func} pointer is the address of a @code{struct} representing your function, as just described. |