|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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
|
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
|
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
|
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
|
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
|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |