- java.lang.Object
-
- de.ibapl.jnhw.common.memory.NativeFunctionPointer
-
- de.ibapl.jnhw.common.nativepointer.FunctionPtr_I_V
-
- de.ibapl.jnhw.common.nativecall.CallNative_J_V
-
public class CallNative_J_V extends FunctionPtr_I_V
Call a native function pointer.- Author:
- aploese
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.NativeFunctionPointer
NativeFunctionPointer.Producer<A extends NativeFunctionPointer>
-
-
Field Summary
-
Fields inherited from class de.ibapl.jnhw.common.memory.NativeFunctionPointer
nativeAddress
-
-
Constructor Summary
Constructors Constructor Description CallNative_J_V(NativeAddressHolder src)CallNative_J_V(NativeFunctionPointer src)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcall(long value)call the native function.static CallNative_J_Vwrap(NativeAddressHolder src)static CallNative_J_Vwrap(NativeFunctionPointer src)-
Methods inherited from class de.ibapl.jnhw.common.memory.NativeFunctionPointer
equals, hashCode, isSameAddress, nativeToString, toNativeAddressHolder, toString, toUintptr_t, toUintptr_tOrNULL
-
-
-
-
Constructor Detail
-
CallNative_J_V
public CallNative_J_V(NativeFunctionPointer src)
-
CallNative_J_V
public CallNative_J_V(NativeAddressHolder src)
-
-
Method Detail
-
wrap
public static CallNative_J_V wrap(NativeFunctionPointer src)
-
wrap
public static CallNative_J_V wrap(NativeAddressHolder src)
-
call
public void call(long value)
call the native function.- Parameters:
value-
-
-