INativeFunction
public class JnaNativeFunction extends java.lang.Object implements INativeFunction
Constructor | Description |
---|---|
JnaNativeFunction(com.sun.jna.Function function) |
Modifier and Type | Method | 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