de.intarsys.nativec.api
Interface INativeFunction

All Known Implementing Classes:
JnaNativeFunction

public interface INativeFunction

The representation of a native function.


Method Summary
<T> T
invoke(java.lang.Class<T> returnType, java.lang.Object... objects)
          Invoke the native function.
 

Method Detail

invoke

<T> T invoke(java.lang.Class<T> returnType,
             java.lang.Object... objects)
Invoke the native function.

Parameters:
returnType - The expected return type.
objects - The arguments to the function
Returns:
The result of executing the function