Package it.unich.jgmp.nativelib
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler
-
Field Summary
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_SYMBOL_PROVIDER, OPTION_TYPE_MAPPER
-
Method Summary
Modifier and TypeMethodDescriptionint
gmp_asprintf
(com.sun.jna.ptr.PointerByReference pp, String fmt, Object... args) int
gmp_fprintf
(com.sun.jna.Pointer fp, String fmt, Object... args) int
gmp_fscanf
(com.sun.jna.Pointer fp, String fmt, Object... args) int
gmp_printf
(String fmt, Object... args) int
int
gmp_snprintf
(ByteBuffer buf, SizeT size, String fmt, Object... args) int
gmp_sprintf
(ByteBuffer buf, String fmt, Object... args) int
gmp_sscanf
(String s, String fmt, Object... args) void
mpf_clears
(MpfT... xs) void
void
mpq_clears
(MpqT... xs) void
void
mpz_clears
(MpzT... xs) void
-
Method Details
-
gmp_printf
-
gmp_fprintf
-
gmp_sprintf
-
gmp_snprintf
-
gmp_asprintf
-
gmp_scanf
-
gmp_fscanf
-
gmp_sscanf
-
mpz_inits
-
mpz_clears
-
mpq_inits
-
mpq_clears
-
mpf_inits
-
mpf_clears
-