de.intarsys.nativec.api
Interface INativeLibrary

All Known Implementing Classes:
JnaNativeLibrary

public interface INativeLibrary

A native library (DLL or shared library).


Method Summary
 INativeFunction getFunction(java.lang.String name)
          Lookup a INativeFunction 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 a INativeFunction 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.