Package com.jogamp.gluegen.cgram.types
Class StructLayout
- java.lang.Object
-
- com.jogamp.gluegen.cgram.types.StructLayout
-
public class StructLayout extends Object
Encapsulates algorithm for laying out data structures. Note that this ends up embedding code in various places via SizeThunks. If the 32-bit and 64-bit ports on a given platform differ fundamentally in their handling of struct layout then this code will need to be updated and, most likely, two versions of the SizeThunks maintained in various places.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StructLayout(int baseOffset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StructLayout
create(int baseOffset)
static void
layout(int baseOffset, CompoundType t)
void
layout(CompoundType t)
-
-
-
Method Detail
-
layout
public void layout(CompoundType t)
-
create
public static StructLayout create(int baseOffset)
-
layout
public static void layout(int baseOffset, CompoundType t)
-
-