diff options
Diffstat (limited to 'src/java/com/jogamp/gluegen/JavaEmitter.java')
-rw-r--r-- | src/java/com/jogamp/gluegen/JavaEmitter.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/com/jogamp/gluegen/JavaEmitter.java b/src/java/com/jogamp/gluegen/JavaEmitter.java index cf425cd..ec8757c 100644 --- a/src/java/com/jogamp/gluegen/JavaEmitter.java +++ b/src/java/com/jogamp/gluegen/JavaEmitter.java @@ -788,8 +788,10 @@ public class JavaEmitter implements GlueEmitter { } if (name == null) { - if ((structType.getStructName() != null) && cfg.shouldIgnoreInInterface(structType.getStructName())) + final String structName = structType.getStructName(); + if ( null != structName && cfg.shouldIgnoreInInterface(structName) ) { return; + } LOG.log(WARNING, "skipping emission of unnamed struct \"{0}\"", structType); return; |