Top Fields Constructors Methods
jnr.ffi.provider.jffi

pack-priv Class NativeClosurePointer

extends InAccessibleMemoryIO
Class Inheritance
Imports
jnr.ffi.provider.InAccessibleMemoryIO

Field Summary

Modifier and TypeField and Description
private final Closure.Handle
pack-priv final NativeClosureProxy

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public long
size()

Implements abstract jnr.ffi.Pointer.size.

Gets the size of this memory object in bytes (optional operation).
Inherited from jnr.ffi.provider.InAccessibleMemoryIO:
arrayarrayLengtharrayOffseterrorgetgetgetgetgetgetgetBytegetDoublegetFloatgetIntgetLonggetLongLonggetPointergetPointergetShortgetStringgetStringhasArrayindexOfputputputputputputputByteputDoubleputFloatputIntputLongputLongLongputPointerputShortputStringsetMemory

Field Detail

handleback to summary
private final Closure.Handle handle
proxyback to summary
pack-priv final NativeClosureProxy proxy

Constructor Detail

NativeClosurePointerback to summary
public NativeClosurePointer(Runtime runtime, Closure.Handle handle, NativeClosureProxy proxy)

Method Detail

sizeback to summary
public long size()

Implements abstract jnr.ffi.Pointer.size.

Doc from jnr.ffi.Pointer.size.

Gets the size of this memory object in bytes (optional operation).

Returns:long

the size of the memory area this Pointer points to. If the size is unknown, java.lang.Long#MAX_VALUE is returned}.

Annotations
@Override