40package com.jogamp.gluegen;
44import com.jogamp.gluegen.cgram.types.*;
95 Map<
Type,
Type> canonMap) throws Exception;
Represents a [native] constant expression, comprises the [native] expression, see getNativeExpr() and...
Parses and provides access to the contents of .cfg files for the JavaEmitter.
Models all compound types, i.e., those containing fields: structs and unions.
Describes a function symbol, which includes the name and type.
Utility class for recording names of typedefs and structs.
Specifies the interface by which a GlueEmitter can request additional information from the glue gener...
Specifies the interface by which GlueGen requests glue code to be generated.
void endEmission()
Finish the emission of glue code.
void beginStructs(TypeDictionary typedefDictionary, TypeDictionary structDictionary, Map< Type, Type > canonMap)
void beginStructLayout()
Begins the process of computing field offsets and type sizes for the structs to be emitted.
void endStructLayout()
Finishes the struct layout process.
JavaConfiguration getConfig()
void emitDefine(ConstantDefinition def, String optionalComment)
void beginFunctions(TypeDictionary typedefDictionary, TypeDictionary structDictionary, Map< Type, Type > canonMap, List< FunctionSymbol > cFunctions)
void readConfigurationFile(String filename)
void layoutStruct(CompoundType t)
Lays out one struct which will be emitted later.
void emitStruct(CompoundType t, Type typedefType)
Emit glue code for the given CompoundType.
Iterator< FunctionSymbol > emitFunctions(List< FunctionSymbol > cFunctions)
Emit glue code for the list of FunctionSymbols.
void beginEmission(GlueEmitterControls controls)
Begin the emission of glue code.