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
public class NativeSimpleType extends NativeType
The meta class implementation
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NativeSimpleType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPreferredBoundary()
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
-
-
-
-
Method Detail
-
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.
-
-