diff options
Diffstat (limited to 'src/java/com/jogamp/gluegen/CMethodBindingEmitter.java')
-rw-r--r-- | src/java/com/jogamp/gluegen/CMethodBindingEmitter.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java b/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java index be69a38..334df1b 100644 --- a/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java +++ b/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java @@ -1212,6 +1212,10 @@ public class CMethodBindingEmitter extends FunctionEmitter { if (type.isPrimitiveArray()) { getJNIMangledArg(Integer.TYPE, buf, false); } + } else if (type.isNamedClass()) { + buf.append("L"); + buf.append(type.getName().replace('.', '_')); + buf.append("_2"); } else if (type.isCompoundTypeWrapper()) { // Mangle wrappers for C structs as ByteBuffer getJNIMangledArg(java.nio.ByteBuffer.class, buf, true); |