summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp/gluegen/CMethodBindingEmitter.java')
-rw-r--r--src/java/com/jogamp/gluegen/CMethodBindingEmitter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java b/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java
index 4599a56..fb617ef 100644
--- a/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java
+++ b/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java
@@ -1037,7 +1037,7 @@ public class CMethodBindingEmitter extends FunctionEmitter {
int mode = 0;
if ( 1 == cReturnType.pointerDepth() && null != cReturnTargetType ) {
if( cReturnTargetType.isCompound() ) {
- if( !cReturnTargetType.isAnonymous() &&
+ if( !cReturnTargetType.isAnon() &&
cReturnTargetType.asCompound().getNumFields() > 0 )
{
// fully declared non-anonymous struct pointer: pass content
@@ -1047,7 +1047,7 @@ public class CMethodBindingEmitter extends FunctionEmitter {
"for function \"" + binding + "\": " +
"Structs to be emitted should have been laid out by this point " +
"(type " + cReturnTargetType.getCName() + " / " +
- cReturnTargetType.getDebugString() + " was not) for "+binding,
+ cReturnTargetType.getDebugString() + " was not) for "+binding.getCSymbol(),
binding.getCSymbol().getASTLocusTag()
);
}