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.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/java/games/gluegen/MethodBinding.java b/src/net/java/games/gluegen/MethodBinding.java
index 5a88f00f8..fd2b7b7bc 100644
--- a/src/net/java/games/gluegen/MethodBinding.java
+++ b/src/net/java/games/gluegen/MethodBinding.java
@@ -185,7 +185,8 @@ public class MethodBinding {
Type cArgType = getCArgumentType(i);
if (javaArgType.isCompoundTypeWrapper() ||
javaArgType.isNIOBuffer() ||
- cArgType.isArray()) {
+ cArgType.isArray() ||
+ javaArgType.isNIOBufferArray()) {
// Needs unwrapping of accessors, checking of array
// lengths, or checking of direct buffer property
needsBody = true;