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

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

    Constructors
    Constructor
    Description
    Allocate the memory needed for an mpz_t native type and return the pointer to it.
    MpzT(com.sun.jna.Pointer p)
    Create a new MpzT 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

    • MPZ_SIZE

      static final int MPZ_SIZE
      The size of the mpz_t native type.
  • Constructor Details

    • MpzT

      public MpzT()
      Allocate the memory needed for an mpz_t native type and return the pointer to it.
    • MpzT

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