Package it.unich.jgmp.nativelib
Class MpzT
java.lang.Object
com.sun.jna.PointerType
it.unich.jgmp.nativelib.MpzT
- All Implemented Interfaces:
com.sun.jna.NativeMapped
public class MpzT
extends com.sun.jna.PointerType
Type representing an object of the
mpz_t
native type.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final int
The size of thempz_t
native type. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
-
Field Details
-
MPZ_SIZE
static final int MPZ_SIZEThe size of thempz_t
native type.
-
-
Constructor Details
-
MpzT
public MpzT()Allocate the memory needed for anmpz_t
native type and return the pointer to it. -
MpzT
public MpzT(com.sun.jna.Pointer p) Create a newMpzT
corresponding to the pointerp
.
-