summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}