Class SimpleFunctionMapper

java.lang.Object
jnr.ffi.mapper.SimpleFunctionMapper
All Implemented Interfaces:
FunctionMapper

class SimpleFunctionMapper extends Object implements FunctionMapper
  • Field Details

  • Constructor Details

  • Method Details

    • mapFunctionName

      public String mapFunctionName(String functionName, FunctionMapper.Context context)
      Description copied from interface: FunctionMapper
      Translate the (Java) function name into its (native) equivalent. If the name is not present in the map, it is to return the supplied name (same object exactly).
      Specified by:
      mapFunctionName in interface FunctionMapper
      Parameters:
      functionName - to translate
      context - for translation
      Returns:
      native equivalent or functionName if not in map