Package | Description |
---|---|
jnr.ffi |
Modifier and Type | Method and Description |
---|---|
abstract NativeType |
Type.getNativeType()
The native type of this type
|
NativeType |
StructLayout.getNativeType() |
static NativeType |
NativeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NativeType[] |
NativeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Pointer |
Memory.allocate(Runtime runtime,
NativeType type)
Allocates a new block of java memory and wraps it in a
Pointer
accessor. |
static Pointer |
Memory.allocateDirect(Runtime runtime,
NativeType type)
Allocates a new block of native memory and wraps it in a
Pointer
accessor. |
static Pointer |
Memory.allocateTemporary(Runtime runtime,
NativeType type)
Allocates a new block of transient native memory and wraps it in a
Pointer
accessor. |
static Pointer |
Memory.allocateTemporary(Runtime runtime,
NativeType type,
boolean clear)
Allocates a new block of transient native memory and wraps it in a
Pointer
accessor. |
abstract Type |
Runtime.findType(NativeType type)
Looks up the runtime-specific type that corresponds to the pseudo-type
|
Copyright © 2015. All rights reserved.