summaryrefslogtreecommitdiff
path: root/libjava/java/nio/ByteBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/nio/ByteBuffer.h')
-rw-r--r--libjava/java/nio/ByteBuffer.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/libjava/java/nio/ByteBuffer.h b/libjava/java/nio/ByteBuffer.h
index 7836894bde7..cf1f5be6680 100644
--- a/libjava/java/nio/ByteBuffer.h
+++ b/libjava/java/nio/ByteBuffer.h
@@ -11,6 +11,13 @@
extern "Java"
{
+ namespace gnu
+ {
+ namespace gcj
+ {
+ class RawData;
+ }
+ }
namespace java
{
namespace nio
@@ -31,7 +38,7 @@ class java::nio::ByteBuffer : public ::java::nio::Buffer
{
public: // actually package-private
- ByteBuffer(jint, jint, jint, jint);
+ ByteBuffer(jint, jint, jint, jint, ::gnu::gcj::RawData *, JArray< jbyte > *, jint);
public:
static ::java::nio::ByteBuffer * allocateDirect(jint);
static ::java::nio::ByteBuffer * allocate(jint);
@@ -96,8 +103,8 @@ public:
virtual jint compareTo(::java::lang::Object *);
public: // actually package-private
::java::nio::ByteOrder * __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) endian;
- jint array_offset;
JArray< jbyte > * backing_buffer;
+ jint array_offset;
public:
static ::java::lang::Class class$;
};