jnr.ffi.provider.jffi
Class ClosureFromNativeConverter.AbstractClosurePointer

java.lang.Object
  extended by jnr.ffi.Pointer
      extended by jnr.ffi.provider.AbstractMemoryIO
          extended by jnr.ffi.provider.InAccessibleMemoryIO
              extended by jnr.ffi.provider.jffi.ClosureFromNativeConverter.AbstractClosurePointer
Enclosing class:
ClosureFromNativeConverter

public abstract static class ClosureFromNativeConverter.AbstractClosurePointer
extends InAccessibleMemoryIO


Field Summary
static com.kenai.jffi.Invoker ffi
           
protected  long functionAddress
           
 
Constructor Summary
protected ClosureFromNativeConverter.AbstractClosurePointer(Runtime runtime, long functionAddress)
           
 
Method Summary
 long size()
          Gets the size of this memory object in bytes (optional operation).
 
Methods inherited from class jnr.ffi.provider.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, setMemory
 
Methods inherited from class jnr.ffi.provider.AbstractMemoryIO
checkBounds, checkBounds, getAddress, getInt, getNativeLong, indexOf, putAddress, putAddress, putInt, putNativeLong, slice, slice, transferFrom, transferTo
 
Methods inherited from class jnr.ffi.Pointer
address, get, getNullTerminatedPointerArray, getNullTerminatedStringArray, getRuntime, isDirect, newIntPointer, put, toString, wrap, wrap, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ffi

public static final com.kenai.jffi.Invoker ffi

functionAddress

protected final long functionAddress
Constructor Detail

ClosureFromNativeConverter.AbstractClosurePointer

protected ClosureFromNativeConverter.AbstractClosurePointer(Runtime runtime,
                                                            long functionAddress)
Method Detail

size

public final long size()
Description copied from class: Pointer
Gets the size of this memory object in bytes (optional operation).

Specified by:
size in class Pointer
Returns:
the size of the memory area this Pointer points to. If the size is unknown, Long.MAX_VALUE is returned}.


Copyright © 2013. All Rights Reserved.