Package de.intarsys.nativec.api
Interface INativeLibrary
- All Known Implementing Classes:
JnaNativeLibrary
public interface INativeLibrary
A native library (DLL or shared library).
-
Method Summary
Modifier and TypeMethodDescriptiongetFunction
(String name) Lookup aINativeFunction
from the library.Lookup a global in the library.
-
Method Details
-
getFunction
Lookup aINativeFunction
from the library.- Parameters:
name
- The function name- Returns:
- The
INativeFunction
-
getGlobal
Lookup a global in the library.- Parameters:
symbolName
- The global name- Returns:
- The
INativeHandle
to the global.
-