diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2014-03-08 14:41:00 -0500 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2014-03-08 14:41:00 -0500 |
commit | b4343b17479151d438d32530cdd2541262e3088e (patch) | |
tree | 59c81427d817fa5c704336313999e4428ec616c1 /gawkapi.c | |
parent | 4c0b1ddb06fd9329fd34db65a93e067d6426a7d1 (diff) | |
download | egawk-b4343b17479151d438d32530cdd2541262e3088e.tar.gz egawk-b4343b17479151d438d32530cdd2541262e3088e.tar.bz2 egawk-b4343b17479151d438d32530cdd2541262e3088e.zip |
Add memory allocation functions to gawk API.
Diffstat (limited to 'gawkapi.c')
-rw-r--r-- | gawkapi.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 */ |