summaryrefslogtreecommitdiffstats
path: root/libjava/gnu/java/nio/natDirectByteBufferImpl.cc
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-12 18:32:17 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-12 18:32:17 +0000
commit8da46b4d3d33381e63f790e013eece47799af73c (patch)
treee264ba96080adcb968ca68d4705796474ef706ac /libjava/gnu/java/nio/natDirectByteBufferImpl.cc
parent50c23a0263a576131e36833b833633ba003355a1 (diff)
downloadppe42-gcc-8da46b4d3d33381e63f790e013eece47799af73c.tar.gz
ppe42-gcc-8da46b4d3d33381e63f790e013eece47799af73c.zip
2003-05-12 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/CharViewBufferImpl.java, gnu/java/nio/DirectByteBufferImpl.java, gnu/java/nio/DoubleViewBufferImpl.java, gnu/java/nio/FloatViewBufferImpl.java, gnu/java/nio/IntViewBufferImpl.java, gnu/java/nio/LongViewBufferImpl.java, gnu/java/nio/ShortViewBufferImpl.java, gnu/java/nio/natDirectByteBufferImpl.cc: New files, not yet to be compiled. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66727 138bc75d-0d04-0410-961f-82ee72b054a4
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