de.intarsys.nativec.type
public interface INativeType
INativeObject
instances.
A type has declaration style method to create more complex types.
Modifier and Type | Method and 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
- INativeObject
INativeObject createNative(INativeHandle handle)
INativeObject
from a INativeHandle
.handle
- The handle to memory.INativeObject
int getPreferredBoundary()
int getByteCount()
INativeType Ref()