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