From bbe9adae884c1c2cc7687c74b9d3722f1f7f61e7 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sun, 17 Sep 2017 20:34:19 +0300 Subject: Fix gawkapi.h to be usable with C++. --- doc/gawk.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/gawk.texi') 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. -- cgit v1.2.3