summaryrefslogtreecommitdiff
path: root/gawkapi.c
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2014-03-08 14:41:00 -0500
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2014-03-08 14:41:00 -0500
commitb4343b17479151d438d32530cdd2541262e3088e (patch)
tree59c81427d817fa5c704336313999e4428ec616c1 /gawkapi.c
parent4c0b1ddb06fd9329fd34db65a93e067d6426a7d1 (diff)
downloadgawk-b4343b17479151d438d32530cdd2541262e3088e.tar.gz
Add memory allocation functions to gawk API.
Diffstat (limited to 'gawkapi.c')
-rw-r--r--gawkapi.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gawkapi.c b/gawkapi.c
index fb456ce7..782cee48 100644
--- a/gawkapi.c
+++ b/gawkapi.c
@@ -1111,6 +1111,12 @@ gawk_api_t api_impl = {
api_clear_array,
api_flatten_array,
api_release_flattened_array,
+
+ /* Memory allocation */
+ malloc,
+ calloc,
+ realloc,
+ free,
};
/* init_ext_api --- init the extension API */