The API also includes information about the versions of GMP and MPFR
with which the running
gawk was compiled (if any).
They are included in the API
struct as read-only
The major version of the GMP library used to compile
The minor version of the GMP library used to compile
The major version of the MPFR library used to compile
The minor version of the MPFR library used to compile
These fields are set to zero if
gawk was compiled without
You can check if the versions of MPFR and GMP that you are using match those
gawk with the following macro:
extension is the extension id passed to all the other macros
and functions defined in gawkapi.h. If you have not included
<mpfr.h> header file, then this macro will be defined to do nothing.
If you have included that file, then this macro compares the MPFR
and GMP major and minor versions against those of the library you are
compiling against. If your libraries are newer than
produces a fatal error message.
dl_load_func() macro (see Boilerplate Code)