aboutsummaryrefslogtreecommitdiffstats
path: root/gawkapi.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-05-25 15:18:43 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-05-25 15:18:43 +0300
commiteec7101174a3b2807fb282272f75cc13d4b953c3 (patch)
tree2748f77fb510d32f6090fc3e3e02829682336e15 /gawkapi.h
parent577c3fc31a2718461fba2e599d162de96fe838fa (diff)
downloadegawk-eec7101174a3b2807fb282272f75cc13d4b953c3.tar.gz
egawk-eec7101174a3b2807fb282272f75cc13d4b953c3.tar.bz2
egawk-eec7101174a3b2807fb282272f75cc13d4b953c3.zip
Additional changes / some cleanups.
Diffstat (limited to 'gawkapi.h')
-rw-r--r--gawkapi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gawkapi.h b/gawkapi.h
index 3b52bff1..54122cab 100644
--- a/gawkapi.h
+++ b/gawkapi.h
@@ -149,6 +149,11 @@ typedef struct awk_element {
* A record describing an extension function. Upon being
* loaded, the extension should pass in one of these for
* each C function.
+ *
+ * Each called function must fill in the result with eiher a number
+ * or string. Gawk takes ownership of any string memory.
+ *
+ * The called function should return the value of `result'.
*/
typedef struct {
const char *name;