From c484a5fbd3da3e43ce010e5a3a5a19efca0d5de2 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Tue, 13 May 2003 12:57:32 +0000 Subject: [PATCH] 2003-05-13 Michael Koch * gnu/java/nio/natDirectByteBufferImpl.cc (allocateImpl): jlong -> RawData*. (freeImpl): Likewise. From-SVN: r66760 --- libjava/ChangeLog | 6 ++++++ libjava/gnu/java/nio/natDirectByteBufferImpl.cc | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 05f17e47667..adb3af40402 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2003-05-13 Michael Koch + + * gnu/java/nio/natDirectByteBufferImpl.cc + (allocateImpl): jlong -> RawData*. + (freeImpl): Likewise. + 2003-05-13 Michael Koch * java/nio/channels/FileChannel.java diff --git a/libjava/gnu/java/nio/natDirectByteBufferImpl.cc b/libjava/gnu/java/nio/natDirectByteBufferImpl.cc index 317bc226b6c..5fd6cfc63d0 100644 --- a/libjava/gnu/java/nio/natDirectByteBufferImpl.cc +++ b/libjava/gnu/java/nio/natDirectByteBufferImpl.cc @@ -13,9 +13,10 @@ details. */ #include #include +#include #include -jlong +gnu::gcj::RawData* gnu::java::nio::DirectByteBufferImpl::allocateImpl (jint capacity) { // FIXME: implement this @@ -23,7 +24,7 @@ gnu::java::nio::DirectByteBufferImpl::allocateImpl (jint capacity) } void -gnu::java::nio::DirectByteBufferImpl::freeImpl (jlong address) +gnu::java::nio::DirectByteBufferImpl::freeImpl (gnu::gcj::RawData* address) { // FIXME: implement this }