summaryrefslogtreecommitdiffstats
path: root/src/java/com/sun/gluegen/JavaEmitter.java
diff options
context:
space:
mode:
authorsg215889 <[email protected]>2009-07-13 14:31:05 -0700
committersg215889 <[email protected]>2009-07-13 14:31:05 -0700
commitc19b868e5fbdd123477e13c8da6bc37ece1103ff (patch)
tree3742c46569610b5bc4d350e19ca449ce285218ee /src/java/com/sun/gluegen/JavaEmitter.java
parent35cad1e103bb30737b4feacf554219b795358eec (diff)
Add missing changes
Diffstat (limited to 'src/java/com/sun/gluegen/JavaEmitter.java')
-rw-r--r--src/java/com/sun/gluegen/JavaEmitter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/sun/gluegen/JavaEmitter.java b/src/java/com/sun/gluegen/JavaEmitter.java
index ffd273f..603881c 100644
--- a/src/java/com/sun/gluegen/JavaEmitter.java
+++ b/src/java/com/sun/gluegen/JavaEmitter.java
@@ -1741,7 +1741,7 @@ public class JavaEmitter implements GlueEmitter {
if (convertToArrays) {
result = result.replaceJavaArgumentType(i, javaType(ArrayTypes.longArrayClass));
} else {
- result = result.replaceJavaArgumentType(i, JavaType.forNIOLongBufferClass());
+ result = result.replaceJavaArgumentType(i, JavaType.forNIOPointerBufferClass());
}
} else if (t.isCFloatPointerType()) {
arrayPossible = true;
@@ -1775,7 +1775,7 @@ public class JavaEmitter implements GlueEmitter {
} else if (t.isCInt32PointerType()) {
result = result.replaceJavaArgumentType(-1, JavaType.forNIOIntBufferClass());
} else if (t.isCInt64PointerType()) {
- result = result.replaceJavaArgumentType(-1, JavaType.forNIOLongBufferClass());
+ result = result.replaceJavaArgumentType(-1, JavaType.forNIOPointerBufferClass());
} else if (t.isCFloatPointerType()) {
result = result.replaceJavaArgumentType(-1, JavaType.forNIOFloatBufferClass());
} else if (t.isCDoublePointerType()) {