Package de.intarsys.nativec.api
Interface INativeLibrary
-
- All Known Implementing Classes:
JnaNativeLibrary
public interface INativeLibrary
A native library (DLL or shared library).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description INativeFunction
getFunction(java.lang.String name)
Lookup aINativeFunction
from the library.INativeHandle
getGlobal(java.lang.String symbolName)
Lookup a global in the library.
-
-
-
Method Detail
-
getFunction
INativeFunction getFunction(java.lang.String name)
Lookup aINativeFunction
from 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
INativeHandle
to the global.
-
-