summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2014-05-31 15:08:41 -0700
committerHarvey Harrison <[email protected]>2014-05-31 15:08:41 -0700
commit5d802fb8dd4004039d4597253712d24fffb90a36 (patch)
treea3271dd695bcd95d891036723e3eff02fd0d28b1 /src/java/com/jogamp/gluegen
parentd6a5fa9169cc3f7abdb7a23068ddd76f632eec26 (diff)
gluegen: update HeaderParser grammar to annotation EnumType map and functions list
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/java/com/jogamp/gluegen')
-rw-r--r--src/java/com/jogamp/gluegen/GlueGen.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/java/com/jogamp/gluegen/GlueGen.java b/src/java/com/jogamp/gluegen/GlueGen.java
index 54e510d..891878b 100644
--- a/src/java/com/jogamp/gluegen/GlueGen.java
+++ b/src/java/com/jogamp/gluegen/GlueGen.java
@@ -190,8 +190,7 @@ public class GlueGen implements GlueEmitterControls {
// Repackage the enum and #define statements from the parser into a common format
// so that SymbolFilters can operate upon both identically
constants = new ArrayList<ConstantDefinition>();
- for (Object elem : headerParser.getEnums()) {
- EnumType enumeration = (EnumType) elem;
+ for (EnumType enumeration : headerParser.getEnums()) {
String enumName = enumeration.getName();
if (enumName.equals("<anonymous>")) {
enumName = null;