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

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final int
    The size of the gmp_randstate_t structure.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Allocate the memory needed for an gmp_randstate_t structure and return the pointer to it.
    GmpRandstateT(com.sun.jna.Pointer p)
    Create a new GmpRandstateT corresponding to the pointer p.
  • Method Summary

    Methods inherited from class com.sun.jna.PointerType

    equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • RANDSTATE_SIZE

      static final int RANDSTATE_SIZE
      The size of the gmp_randstate_t structure.
  • Constructor Details

    • GmpRandstateT

      public GmpRandstateT()
      Allocate the memory needed for an gmp_randstate_t structure and return the pointer to it.
    • GmpRandstateT

      public GmpRandstateT(com.sun.jna.Pointer p)
      Create a new GmpRandstateT corresponding to the pointer p.