diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-07-13 16:05:08 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-07-13 16:05:08 +0300 |
commit | 0446a2679b81c5e319dfe74074d1b9ab441213f1 (patch) | |
tree | 395d5cb00059d4b47bbe51ba93338df9cdefb741 /doc/gawktexi.in | |
parent | dd9a8ec89c51dba47e63640a9705017399ec32d0 (diff) | |
download | egawk-0446a2679b81c5e319dfe74074d1b9ab441213f1.tar.gz egawk-0446a2679b81c5e319dfe74074d1b9ab441213f1.tar.bz2 egawk-0446a2679b81c5e319dfe74074d1b9ab441213f1.zip |
Fix memory leak in intdiv extension. Update doc.
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r-- | doc/gawktexi.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in index 73b30c39..8cd1efea 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -54,7 +54,7 @@ @c applies to and all the info about who's publishing this edition @c These apply across the board. -@set UPDATE-MONTH June, 2020 +@set UPDATE-MONTH July, 2020 @set VERSION 5.1 @set PATCHLEVEL 0 @@ -33531,6 +33531,13 @@ in data received from @command{gawk}. In addition, by examining the member is either a GMP integer (type @code{mpz_ptr}), or an MPFR floating-point value (type @code{mpfr_ptr_t}), and cast it appropriately. +@quotation CAUTION: +Any MPFR or MPZ values that you create and pass to @command{gawk} +to save are @emph{copied}. This means you are responsible to release +the storage once you're done with it. See the sample @code{intdiv} +extension for some example code. +@end quotation + @item typedef void *awk_scalar_t; Scalars can be represented as an opaque type. These values are obtained from @command{gawk} and then passed back into it. This is discussed |