com.jogamp.gluegen
Class StructLayout

java.lang.Object
  extended by com.jogamp.gluegen.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
protected StructLayout(int baseOffset, int structAlignment)
           
 
Method Summary
static StructLayout createForCurrentPlatform()
           
 void layout(CompoundType t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructLayout

protected StructLayout(int baseOffset,
                       int structAlignment)
Method Detail

layout

public void layout(CompoundType t)

createForCurrentPlatform

public static StructLayout createForCurrentPlatform()