INativeTypepublic 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, registerprotected NativeArrayType(INativeType baseDeclaration, int arraySize)
public static NativeArrayType create(INativeType baseType, int size)
public INativeObject createNative(INativeHandle handle)
INativeTypeINativeObject from a INativeHandle.createNative in interface INativeTypecreateNative in class NativeTypehandle - The handle to memory.INativeObjectpublic INativeObject createNative(java.lang.Object value)
INativeTypeINativeObject for this type from the Java object.createNative in interface INativeTypecreateNative in class NativeTypeINativeObjectpublic int getArraySize()
public int getBaseSize()
public INativeType getBaseType()
public int getByteCount()
INativeTypegetByteCount in interface INativeTypegetByteCount in class NativeTypepublic int getPreferredBoundary()
INativeType