aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-03-10 13:39:14 +0100
committerSven Gothel <[email protected]>2014-03-10 13:39:14 +0100
commit557482a864319b29fd7a3bdd494418ad10948db3 (patch)
tree8cf4caa6fabd6b8275c46392a2f3228988b0f951 /src/java/com
parentd5d6f47dad574c6b28522649bdff746102280e68 (diff)
parent7616f7b1a877f078fe76ff510d8e95ccd2a908d9 (diff)
Merge remote-tracking branch 'remotes/wwalker/bug_992_allow_ignore_of_unnamed_structs'
Diffstat (limited to 'src/java/com')
-rw-r--r--src/java/com/jogamp/gluegen/JavaEmitter.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/com/jogamp/gluegen/JavaEmitter.java b/src/java/com/jogamp/gluegen/JavaEmitter.java
index 380b5e4..cf425cd 100644
--- a/src/java/com/jogamp/gluegen/JavaEmitter.java
+++ b/src/java/com/jogamp/gluegen/JavaEmitter.java
@@ -788,6 +788,9 @@ public class JavaEmitter implements GlueEmitter {
}
if (name == null) {
+ if ((structType.getStructName() != null) && cfg.shouldIgnoreInInterface(structType.getStructName()))
+ return;
+
LOG.log(WARNING, "skipping emission of unnamed struct \"{0}\"", structType);
return;
}