Package it.unich.jgmp.nativelib
Class GmpFunctionMapper
java.lang.Object
it.unich.jgmp.nativelib.GmpFunctionMapper
- All Implemented Interfaces:
com.sun.jna.FunctionMapper
A
FunctionMapper
which converts the official GMP function
names (beginning with mpz
, mpq
, mpf
and gmp
)
to the names used by the C library (beginning with __gmp
).-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFunctionName
(com.sun.jna.NativeLibrary library, Method method) static GmpFunctionMapper
-
Field Details
-
instance
-
-
Constructor Details
-
GmpFunctionMapper
private GmpFunctionMapper()
-
-
Method Details
-
getFunctionName
- Specified by:
getFunctionName
in interfacecom.sun.jna.FunctionMapper
-
getInstance
-