aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/nio/natDirectByteBufferImpl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/nio/natDirectByteBufferImpl.cc')
-rw-r--r--libjava/java/nio/natDirectByteBufferImpl.cc45
1 files changed, 45 insertions, 0 deletions
diff --git a/libjava/java/nio/natDirectByteBufferImpl.cc b/libjava/java/nio/natDirectByteBufferImpl.cc
new file mode 100644
index 0000000..8286390
--- /dev/null
+++ b/libjava/java/nio/natDirectByteBufferImpl.cc
@@ -0,0 +1,45 @@
+// natDirectByteBufferImpl.cc
+
+/* Copyright (C) 2003 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+#include <config.h>
+
+#include <gcj/cni.h>
+#include <jvm.h>
+
+#include <gnu/gcj/RawData.h>
+#include <java/nio/DirectByteBufferImpl.h>
+
+gnu::gcj::RawData*
+java::nio::DirectByteBufferImpl::allocateImpl (jint /*capacity*/)
+{
+ // FIXME: implement this
+ return 0;
+}
+
+void
+java::nio::DirectByteBufferImpl::freeImpl (gnu::gcj::RawData* /*address*/)
+{
+ // FIXME: implement this
+}
+
+jbyte
+java::nio::DirectByteBufferImpl::getImpl (jint /*index*/)
+{
+ // FIXME: implement this
+ // Dont forget: add offset to index
+ return 0;
+}
+
+void
+java::nio::DirectByteBufferImpl::putImpl (jint /*index*/, jbyte /*value*/)
+{
+ // FIXME: implement this
+ // Dont forget: add offset to index
+}