NativeAbstractStringType, NativeArrayType, NativeBufferType, NativeByteType, NativeIntType, NativeLongLP64Type, NativeLongType, NativeNumberType, NativeReferenceType, NativeShortType, NativeSimpleType, NativeStringType, NativeStructType, NativeType, NativeVoidType, NativeWideStringTypepublic interface INativeType
INativeObject instances.
A type has declaration style method to create more complex types.
| Modifier and Type | Method | Description |
|---|---|---|
INativeType |
Array(int size) |
Create an array type from this.
|
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 |
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.
|
INativeType |
Ref() |
Create a reference type to this.
|
INativeType Array(int size)
size - The predefined size for the array.INativeObject createNative(java.lang.Object value)
INativeObject for this type from the Java object.value - INativeObjectINativeObject createNative(INativeHandle handle)
INativeObject from a INativeHandle.handle - The handle to memory.INativeObjectint getPreferredBoundary()
int getByteCount()
INativeType Ref()