Package de.intarsys.nativec.type
Class NativeSimpleType
java.lang.Object
de.intarsys.nativec.type.NativeType
de.intarsys.nativec.type.NativeSimpleType
- All Implemented Interfaces:
INativeType
- Direct Known Subclasses:
NativeNumberType
,NativeVoidType
The meta class implementation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
The boundary where this type as a struct member would want to be aligned.Methods inherited from class de.intarsys.nativec.type.NativeType
Array, createNative, createNative, getByteCount, lookup, Ref, register
-
Constructor Details
-
NativeSimpleType
protected NativeSimpleType()
-
-
Method Details
-
getPreferredBoundary
public int getPreferredBoundary()Description copied from interface:INativeType
The boundary where this type as a struct member would want to be aligned. A structure can override this value with packing.- Returns:
- The preferred alignment boundary.
-