Class GmpTypeMapper

  • All Implemented Interfaces:
    com.sun.jna.TypeMapper

    class GmpTypeMapper
    extends java.lang.Object
    implements com.sun.jna.TypeMapper
    A TypeMapper for the types MPZ, MPQ and MPF. It is used by the printf / scanf functions to correctly handle these types.
    • Constructor Detail

      • GmpTypeMapper

        private GmpTypeMapper()
    • Method Detail

      • getFromNativeConverter

        public com.sun.jna.FromNativeConverter getFromNativeConverter​(java.lang.Class<?> javaType)
        Specified by:
        getFromNativeConverter in interface com.sun.jna.TypeMapper
      • getToNativeConverter

        public com.sun.jna.ToNativeConverter getToNativeConverter​(java.lang.Class<?> javaType)
        Specified by:
        getToNativeConverter in interface com.sun.jna.TypeMapper