Class NativeClosurePointer
java.lang.Object
jnr.ffi.Pointer
jnr.ffi.provider.AbstractMemoryIO
jnr.ffi.provider.InAccessibleMemoryIO
jnr.ffi.provider.jffi.NativeClosurePointer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.kenai.jffi.Closure.Handle(package private) final NativeClosureProxy -
Constructor Summary
ConstructorsConstructorDescriptionNativeClosurePointer(Runtime runtime, com.kenai.jffi.Closure.Handle handle, NativeClosureProxy proxy) -
Method Summary
Modifier and TypeMethodDescriptionlongsize()Gets the size of this memory object in bytes (optional operation).Methods inherited from class InAccessibleMemoryIO
array, arrayLength, arrayOffset, error, get, get, get, get, get, get, getByte, getDouble, getFloat, getInt, getLong, getLongLong, getPointer, getPointer, getShort, getString, getString, hasArray, indexOf, put, put, put, put, put, put, putByte, putDouble, putFloat, putInt, putLong, putLongLong, putPointer, putShort, putString, setMemoryMethods inherited from class AbstractMemoryIO
checkBounds, checkBounds, getAddress, getInt, getNativeLong, indexOf, putAddress, putAddress, putInt, putNativeLong, slice, slice, transferFrom, transferToMethods inherited from class Pointer
address, get, getNullTerminatedPointerArray, getNullTerminatedStringArray, getRuntime, isDirect, newIntPointer, put, toString, wrap, wrap, wrap
-
Field Details
-
handle
private final com.kenai.jffi.Closure.Handle handle -
proxy
-
-
Constructor Details
-
NativeClosurePointer
public NativeClosurePointer(Runtime runtime, com.kenai.jffi.Closure.Handle handle, NativeClosureProxy proxy)
-
-
Method Details
-
size
public long size()Description copied from class:PointerGets the size of this memory object in bytes (optional operation).- Specified by:
sizein classPointer- Returns:
- the size of the memory area this
Pointerpoints to. If the size is unknown,Long.MAX_VALUEis returned}.
-