From b4343b17479151d438d32530cdd2541262e3088e Mon Sep 17 00:00:00 2001 From: "Andrew J. Schorr" Date: Sat, 8 Mar 2014 14:41:00 -0500 Subject: Add memory allocation functions to gawk API. --- gawkapi.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gawkapi.c') 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 */ -- cgit v1.2.3