|
intarsys nativeC library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INativeType
The type (factory) for INativeObject
instances.
A type has declaration style method to create more complex types.
Method Summary | |
---|---|
INativeType |
Array(int size)
Create an array type from this. |
INativeObject |
createNative(INativeHandle handle)
Create a new INativeObject from a INativeHandle . |
INativeObject |
createNative(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. |
Method Detail |
---|
INativeType Array(int size)
size
- The predefined size for the array.
INativeObject createNative(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()
|
intarsys nativeC library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |