diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-07-26 15:13:42 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-07-26 15:13:42 +0300 |
commit | b11ce4a54d8ed198e734b3f8a86ed0d245bdd664 (patch) | |
tree | 1d3169ad20dd942fdd0cc6e18e4d561c7df6db5a /gawkapi.h | |
parent | a5cc0427756754da6e84bf9427b9f404d157244e (diff) | |
parent | 34c8c8d06b766703fdc86136a0656e4baeeb7b69 (diff) | |
download | egawk-b11ce4a54d8ed198e734b3f8a86ed0d245bdd664.tar.gz egawk-b11ce4a54d8ed198e734b3f8a86ed0d245bdd664.tar.bz2 egawk-b11ce4a54d8ed198e734b3f8a86ed0d245bdd664.zip |
Merge branch 'gawk-5.1-stable'
Diffstat (limited to 'gawkapi.h')
-rw-r--r-- | gawkapi.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -782,16 +782,16 @@ typedef struct gawk_api { void (*api_free)(void *ptr); /* - * A function that returns mpfr data should call this function - * to allocate and initialize an mpfr_ptr for use in an - * awk_value_t structure that will be handed to gawk. + * Obsolete function, should not be used. It remains only + * for binary compatibility. Any value it returns should be + * freed via api_free. */ void *(*api_get_mpfr)(awk_ext_id_t id); /* - * A function that returns mpz data should call this function - * to allocate and initialize an mpz_ptr for use in an - * awk_value_t structure that will be handed to gawk. + * Obsolete function, should not be used. It remains only + * for binary compatibility. Any value it returns should be + * freed via api_free. */ void *(*api_get_mpz)(awk_ext_id_t id); @@ -935,6 +935,7 @@ typedef struct gawk_api { #define get_file(name, namelen, filetype, fd, ibuf, obuf) \ (api->api_get_file(ext_id, name, namelen, filetype, fd, ibuf, obuf)) +/* These two are obsolete and should not be used. */ #define get_mpfr_ptr() (api->api_get_mpfr(ext_id)) #define get_mpz_ptr() (api->api_get_mpz(ext_id)) |