INativeType
public class NativeArrayType extends NativeType
NativeArray
Modifier | Constructor | Description |
---|---|---|
protected |
NativeArrayType(INativeType baseDeclaration,
int arraySize) |
Modifier and Type | Method | Description |
---|---|---|
static NativeArrayType |
create(INativeType baseType,
int size) |
|
INativeObject |
createNative(INativeHandle handle) |
Create a new
INativeObject from a INativeHandle . |
INativeObject |
createNative(java.lang.Object value) |
Create an
INativeObject for this type from the Java object. |
int |
getArraySize() |
|
int |
getBaseSize() |
|
INativeType |
getBaseType() |
|
int |
getByteCount() |
The size of the type in c memory.
|
int |
getPreferredBoundary() |
The boundary where this type as a struct member would want to be aligned.
|
Array, lookup, Ref, register
protected NativeArrayType(INativeType baseDeclaration, int arraySize)
public static NativeArrayType create(INativeType baseType, int size)
public INativeObject createNative(INativeHandle handle)
INativeType
INativeObject
from a INativeHandle
.createNative
in interface INativeType
createNative
in class NativeType
handle
- The handle to memory.INativeObject
public INativeObject createNative(java.lang.Object value)
INativeType
INativeObject
for this type from the Java object.createNative
in interface INativeType
createNative
in class NativeType
INativeObject
public int getArraySize()
public int getBaseSize()
public INativeType getBaseType()
public int getByteCount()
INativeType
getByteCount
in interface INativeType
getByteCount
in class NativeType
public int getPreferredBoundary()
INativeType