INativeTypepublic class NativeReferenceType extends NativeType
| Modifier | Constructor | Description |
|---|---|---|
protected |
NativeReferenceType(INativeType baseDeclaration) |
Declare a reference to a base type
|
| Modifier and Type | Method | Description |
|---|---|---|
static NativeReferenceType |
create(INativeType baseType) |
|
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. |
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 NativeReferenceType(INativeType baseDeclaration)
public static NativeReferenceType create(INativeType baseType)
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 INativeType getBaseType()
public int getByteCount()
INativeTypegetByteCount in interface INativeTypegetByteCount in class NativeTypepublic int getPreferredBoundary()
INativeType