From 8da46b4d3d33381e63f790e013eece47799af73c Mon Sep 17 00:00:00 2001 From: mkoch Date: Mon, 12 May 2003 18:32:17 +0000 Subject: 2003-05-12 Michael Koch * 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 --- libjava/gnu/java/nio/natDirectByteBufferImpl.cc | 44 +++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 libjava/gnu/java/nio/natDirectByteBufferImpl.cc (limited to 'libjava/gnu/java/nio/natDirectByteBufferImpl.cc') 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 + +#include +#include + +#include + +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 +} -- cgit v1.2.3