aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/games/gluegen/MethodBinding.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/games/gluegen/MethodBinding.java')
-rw-r--r--src/net/java/games/gluegen/MethodBinding.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/java/games/gluegen/MethodBinding.java b/src/net/java/games/gluegen/MethodBinding.java
index b8f0eefdf..af86f0b66 100644
--- a/src/net/java/games/gluegen/MethodBinding.java
+++ b/src/net/java/games/gluegen/MethodBinding.java
@@ -184,8 +184,10 @@ public class MethodBinding {
JavaType javaArgType = getJavaArgumentType(i);
Type cArgType = getCArgumentType(i);
if (javaArgType.isCompoundTypeWrapper() ||
+ javaArgType.isNIOBuffer() ||
cArgType.isArray()) {
- // Needs unwrapping of accessors or checking of array lengths
+ // Needs unwrapping of accessors, checking of array
+ // lengths, or checking of direct buffer property
needsBody = true;
break;
}