diff options
Diffstat (limited to 'src/java/com/jogamp/gluegen/MethodBinding.java')
-rw-r--r-- | src/java/com/jogamp/gluegen/MethodBinding.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/gluegen/MethodBinding.java b/src/java/com/jogamp/gluegen/MethodBinding.java index 42bae04..21df415 100644 --- a/src/java/com/jogamp/gluegen/MethodBinding.java +++ b/src/java/com/jogamp/gluegen/MethodBinding.java @@ -373,7 +373,7 @@ public class MethodBinding { if (cRetType.isArray()) { // Needs checking of array lengths signatureUsesCArrays = true; - if (cRetType.asArray().getElementType().isPrimitive()) { + if (cRetType.asArray().getTargetType().isPrimitive()) { signatureUsesCPrimitivePointers = true; } } @@ -415,7 +415,7 @@ public class MethodBinding { if (cArgType.isArray()) { // Needs checking of array lengths signatureUsesCArrays = true; - if (cArgType.asArray().getElementType().isPrimitive()) { + if (cArgType.asArray().getTargetType().isPrimitive()) { signatureUsesCPrimitivePointers = true; } } |