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 aINativeFunction
from the library.Lookup a global in the library.protected com.sun.jna.NativeLibrary
protected JnaNativeInterface
-
Constructor Details
-
JnaNativeLibrary
public JnaNativeLibrary(JnaNativeInterface nativeInterface, String name, Map<String, Object> options)
-
-
Method Details
-
getFunction
Description copied from interface:INativeLibrary
Lookup aINativeFunction
from the library.- Specified by:
getFunction
in interfaceINativeLibrary
- Parameters:
name
- The function name- Returns:
- The
INativeFunction
-
getGlobal
Description copied from interface:INativeLibrary
Lookup a global in the library.- Specified by:
getGlobal
in interfaceINativeLibrary
- Parameters:
symbolName
- The global name- Returns:
- The
INativeHandle
to the global.
-
getLibrary
protected com.sun.jna.NativeLibrary getLibrary() -
getNativeInterface
-