Modifier and Type | Method and Description |
---|---|
NativeType |
StructLayout.getNativeType() |
abstract NativeType |
Type.getNativeType()
The native type of this type
|
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 that corresponds to the pseudo-type
|
Constructor and Description |
---|
Struct.AbstractBoolean(NativeType type) |
Struct.AbstractBoolean(NativeType type,
Struct.Offset offset) |
Struct.AbstractMember(NativeType type) |
Struct.AbstractMember(NativeType type,
Struct.Offset offset) |
Struct.EnumField(NativeType type,
Class<E> enumClass)
Constructs a new Enum field.
|
Struct.NumberField(NativeType type) |
Struct.NumberField(NativeType type,
Struct.Offset offset) |
Struct.Padding(NativeType type,
int length) |
StructLayout.AbstractBoolean(NativeType type) |
StructLayout.AbstractField(NativeType type) |
StructLayout.AbstractField(NativeType type,
Struct.Offset offset) |
StructLayout.EnumField(NativeType type,
Class<E> enumClass)
Constructs a new Enum field.
|
StructLayout.NumberField(NativeType nativeType) |
StructLayout.NumberField(NativeType nativeType,
Struct.Offset offset) |
StructLayout.Padding(NativeType type,
int length) |
Modifier and Type | Method and Description |
---|---|
NativeType |
BadType.getNativeType() |
Modifier and Type | Method and Description |
---|---|
Type |
AbstractRuntime.findType(NativeType type)
Looks up the runtime-specific that corresponds to the pseudo-type
|
Constructor and Description |
---|
AbstractRuntime(ByteOrder byteOrder,
EnumMap<NativeType,Type> typeMap) |
Modifier and Type | Method and Description |
---|---|
static void |
NumberUtil.convertPrimitive(SkinnyMethodAdapter mv,
Class from,
Class to,
NativeType nativeType) |
static void |
NumberUtil.widen(SkinnyMethodAdapter mv,
Class from,
Class to,
NativeType nativeType) |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Modifier and Type | Field and Description |
---|---|
static Map<TypeAlias,NativeType> |
TypeAliases.ALIASES |
Copyright © 2013. All rights reserved.