de.intarsys.nativec.jna
public class JnaNativeFunction extends java.lang.Object implements INativeFunction
Constructor and Description |
---|
JnaNativeFunction(com.sun.jna.Function function) |
Modifier and Type | Method and Description |
---|---|
protected com.sun.jna.Function |
getFunction() |
<T> T |
invoke(java.lang.Class<T> returnType,
java.lang.Object... objects)
Invoke the native function.
|
protected com.sun.jna.Function getFunction()
public <T> T invoke(java.lang.Class<T> returnType, java.lang.Object... objects)
INativeFunction
invoke
in interface INativeFunction
returnType
- The expected return type.objects
- The arguments to the function