aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawktexi.in
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-09-17 20:34:19 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-09-17 20:34:19 +0300
commitbbe9adae884c1c2cc7687c74b9d3722f1f7f61e7 (patch)
treeabfa8fdd82ac854c5ec00f9771bdd22940c12b64 /doc/gawktexi.in
parent5ce26d128178f27fea3ad2ce5cb9dc9c77834757 (diff)
downloadegawk-bbe9adae884c1c2cc7687c74b9d3722f1f7f61e7.tar.gz
egawk-bbe9adae884c1c2cc7687c74b9d3722f1f7f61e7.tar.bz2
egawk-bbe9adae884c1c2cc7687c74b9d3722f1f7f61e7.zip
Fix gawkapi.h to be usable with C++.
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r--doc/gawktexi.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 65d3cf44..46eed243 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -32293,9 +32293,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.