aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-09 02:45:21 +0100
committerSven Gothel <[email protected]>2015-03-09 02:45:21 +0100
commitcf9f28cf249393f42d7d2835775521dfadee6b92 (patch)
tree4afb150bd89dca1be3cd27d3632487cbfdcd06c4 /src/java/com/jogamp/gluegen/CMethodBindingEmitter.java
parent3b7871515f9a6a3c7adcbf12772d168e61f86d50 (diff)
Bug 1134 - Fix IntType 'unsigned'; Type: Use copy-ctor instead of Clonable, ..
- Fix IntType 'unsigned' - Need to handle 'unsigned' for typedef and !typedef, when exposing 'unsigned' for code emission. - Consider IntType.typedefUnsigned in hash/equals - Type: Use copy-ctor instead of Clonable enhancing strong typing. - add 'Type clone(final ASTLocusTag newLoc)' - Consider Type.typedefCVAttributes in hash/equals
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()
);
}