Package it.unich.jgmp.nativelib
package it.unich.jgmp.nativelib
This package contains all the low-level classes of JGMP.
All the code interfacing with the native C library is part of this package.
In case one wants to replace JNA with another library, the changes to the
JGMP would be almost entirely limited to this package.
The most important class is LibGmp, which contains the Java bindings
for the functions in the GMP C library. Other classes are Java proxies for the
parameter and return types used by these functions.
-
ClassDescriptionCustom allocator function callback.A structure containing an
AllocFunccallback.Custom deallocator function callback.A structure containing anFreeFunccallback.AFunctionMapperwhich converts the official GMP function names (beginning withmpz,mpq,mpfandgmp) to the names used by the C library (beginning with__gmp).Type representing an object of thegmp_randstate_tnative type.A converter fromMPFto the native pointer type.A converter fromMPQto the native pointer type.A converter fromMPZto the native pointer type.This class contains the static native methods corresponding to GMP functions.Interface for the native functions with a variable number of arguments.The nativemp_bitcnt_tdata type, which may be a 32 or 64 bit unsigned integer.The nativemp_exp_tdata type, which may be a 32, 48 or 64 bit signed integer.A reference to the nativemp_exp_tdata type.Type representing an object of thempf_tnative type.Type representing an object of thempq_tnative type.The nativemp_size_tdata type, which may be a 32, 48 or 64 bit signed integer.Type representing an object of thempz_tnative type.The native unsigned long data type, which may be a 32 or 64 bit integer.Custom reallocator function callback.A structure containing anReallocFunccallback.The nativesize_tdata type, which may be a 32 or 64 bit unsigned integer.A reference to the nativesize_tdata type.