summaryrefslogtreecommitdiffstats
path: root/libjava/gnu/java/nio/natDirectByteBufferImpl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/java/nio/natDirectByteBufferImpl.cc')
-rw-r--r--libjava/gnu/java/nio/natDirectByteBufferImpl.cc44
1 files changed, 44 insertions, 0 deletions
diff --git a/libjava/gnu/java/nio/natDirectByteBufferImpl.cc b/libjava/gnu/java/nio/natDirectByteBufferImpl.cc
new file mode 100644
index 00000000000..317bc226b6c
--- /dev/null
+++ b/libjava/gnu/java/nio/natDirectByteBufferImpl.cc
@@ -0,0 +1,44 @@
+// 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/java/nio/DirectByteBufferImpl.h>
+
+jlong
+gnu::java::nio::DirectByteBufferImpl::allocateImpl (jint capacity)
+{
+ // FIXME: implement this
+ return 0;
+}
+
+void
+gnu::java::nio::DirectByteBufferImpl::freeImpl (jlong address)
+{
+ // FIXME: implement this
+}
+
+jbyte
+gnu::java::nio::DirectByteBufferImpl::getImpl (jint index)
+{
+ // FIXME: implement this
+ // Dont forget: add offset to index
+ return 0;
+}
+
+void
+gnu::java::nio::DirectByteBufferImpl::putImpl (jint index, jbyte value)
+{
+ // FIXME: implement this
+ // Dont forget: add offset to index
+}
OpenPOWER on IntegriCloud