Interface LibGmp.LibGmpExtra

All Superinterfaces:
com.sun.jna.Library
Enclosing class:
LibGmp

private static interface LibGmp.LibGmpExtra extends com.sun.jna.Library
Interface for the native functions with a variable number of arguments. These are not supported by direct mapping, so we need to register them separately.
  • Method Details

    • gmp_printf

      int gmp_printf(String fmt, Object... args)
    • gmp_fprintf

      int gmp_fprintf(com.sun.jna.Pointer fp, String fmt, Object... args)
    • gmp_sprintf

      int gmp_sprintf(ByteBuffer buf, String fmt, Object... args)
    • gmp_snprintf

      int gmp_snprintf(ByteBuffer buf, SizeT size, String fmt, Object... args)
    • gmp_asprintf

      int gmp_asprintf(com.sun.jna.ptr.PointerByReference pp, String fmt, Object... args)
    • gmp_scanf

      int gmp_scanf(String fmt, Object... args)
    • gmp_fscanf

      int gmp_fscanf(com.sun.jna.Pointer fp, String fmt, Object... args)
    • gmp_sscanf

      int gmp_sscanf(String s, String fmt, Object... args)
    • mpz_inits

      void mpz_inits(MpzT... xs)
    • mpz_clears

      void mpz_clears(MpzT... xs)
    • mpq_inits

      void mpq_inits(MpqT... xs)
    • mpq_clears

      void mpq_clears(MpqT... xs)
    • mpf_inits

      void mpf_inits(MpfT... xs)
    • mpf_clears

      void mpf_clears(MpfT... xs)