Package de.intarsys.nativec.api
Interface INativeLibrary
-
- All Known Implementing Classes:
JnaNativeLibrary
public interface INativeLibraryA native library (DLL or shared library).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description INativeFunctiongetFunction(java.lang.String name)Lookup aINativeFunctionfrom the library.INativeHandlegetGlobal(java.lang.String symbolName)Lookup a global in the library.
-
-
-
Method Detail
-
getFunction
INativeFunction getFunction(java.lang.String name)
Lookup aINativeFunctionfrom the library.- Parameters:
name- The function name- Returns:
- The
INativeFunction
-
getGlobal
INativeHandle getGlobal(java.lang.String symbolName)
Lookup a global in the library.- Parameters:
symbolName- The global name- Returns:
- The
INativeHandleto the global.
-
-