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.

  • Class
    Description
    Custom allocator function callback.
    A structure containing an AllocFunc callback.
    Custom deallocator function callback.
    A structure containing an FreeFunc callback.
    Type representing an object of the gmp_randstate_t native type.
    This class contains the static native methods corresponding to GMP functions.
    The native mp_bitcnt_t data type, which may be a 32 or 64 bit unsigned integer.
    The native mp_exp_t data type, which may be a 32, 48 or 64 bit signed integer.
    A reference to the native mp_exp_t data type.
    Type representing an object of the mpf_t native type.
    Type representing an object of the mpq_t native type.
    The native mp_size_t data type, which may be a 32, 48 or 64 bit signed integer.
    Type representing an object of the mpz_t native type.
    The native unsigned long data type, which may be a 32 or 64 bit integer.
    Custom reallocator function callback.
    A structure containing an ReallocFunc callback.
    The native size_t data type, which may be a 32 or 64 bit unsigned integer.
    A reference to the native size_t data type.