Uses of Interface
org.bridj.Pointer.Releaser

Packages that use Pointer.Releaser
org.bridj BridJ core classes and C runtime (Pointer, BridJ, SizeT, Platform, LastError...). 
 

Uses of Pointer.Releaser in org.bridj
 

Methods in org.bridj with parameters of type Pointer.Releaser
static
<V> Pointer<V>
Pointer.allocateAlignedBytes(PointerIO<V> io, long byteSize, int alignment, Pointer.Releaser beforeDeallocation)
          Create a memory area large enough to hold byteSize consecutive bytes and return a pointer to elements of the type associated to the provided PointerIO instance (see PointerIO.getTargetType()), ensuring the pointer to the memory is aligned to the provided boundary.
static
<V> Pointer<V>
Pointer.allocateArray(PointerIO<V> io, long arrayLength, Pointer.Releaser beforeDeallocation)
          Create a memory area large enough to hold arrayLength items of the type associated to the provided PointerIO instance (see PointerIO.getTargetType())
static
<V> Pointer<V>
Pointer.allocateBytes(PointerIO<V> io, long byteSize, Pointer.Releaser beforeDeallocation)
          Create a memory area large enough to hold byteSize consecutive bytes and return a pointer to elements of the type associated to the provided PointerIO instance (see PointerIO.getTargetType())
static
<P> Pointer<P>
Pointer.pointerToAddress(long peer, Class<P> targetClass, Pointer.Releaser releaser)
          Create a pointer out of a native memory address
static Pointer<?> Pointer.pointerToAddress(long peer, long size, Pointer.Releaser releaser)
          Create a pointer out of a native memory address
static Pointer<?> Pointer.pointerToAddress(long peer, Pointer.Releaser releaser)
          Deprecated. 
static
<P> Pointer<P>
Pointer.pointerToAddress(long peer, Type targetType, Pointer.Releaser releaser)
          Create a pointer out of a native memory address
 Pointer<T> Pointer.withReleaser(Pointer.Releaser beforeDeallocation)
          Deprecated. This method can easily be misused and is reserved to advanced users.
 



Copyright © 2009-2012. All Rights Reserved.