Package de.intarsys.nativec.jna
Class JnaNativeLibrary
java.lang.Object
de.intarsys.nativec.jna.JnaNativeLibrary
- All Implemented Interfaces:
INativeLibrary
-
Constructor Summary
ConstructorsConstructorDescriptionJnaNativeLibrary(JnaNativeInterface nativeInterface, String name, Map<String, Object> options) -
Method Summary
Modifier and TypeMethodDescriptiongetFunction(String name) Lookup aINativeFunctionfrom the library.Lookup a global in the library.protected com.sun.jna.NativeLibraryprotected JnaNativeInterface
-
Constructor Details
-
JnaNativeLibrary
public JnaNativeLibrary(JnaNativeInterface nativeInterface, String name, Map<String, Object> options)
-
-
Method Details
-
getFunction
Description copied from interface:INativeLibraryLookup aINativeFunctionfrom the library.- Specified by:
getFunctionin interfaceINativeLibrary- Parameters:
name- The function name- Returns:
- The
INativeFunction
-
getGlobal
Description copied from interface:INativeLibraryLookup a global in the library.- Specified by:
getGlobalin interfaceINativeLibrary- Parameters:
symbolName- The global name- Returns:
- The
INativeHandleto the global.
-
getLibrary
protected com.sun.jna.NativeLibrary getLibrary() -
getNativeInterface
-