Files
gcc/libjava/gnu/java/nio/natDirectByteBufferImpl.cc
T
Michael Koch c484a5fbd3 2003-05-13 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/natDirectByteBufferImpl.cc
	(allocateImpl): jlong -> RawData*.
	(freeImpl): Likewise.

From-SVN: r66760
2003-05-13 12:57:32 +00:00

46 lines
928 B
C++

// 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 <gnu/java/nio/DirectByteBufferImpl.h>
gnu::gcj::RawData*
gnu::java::nio::DirectByteBufferImpl::allocateImpl (jint capacity)
{
// FIXME: implement this
return 0;
}
void
gnu::java::nio::DirectByteBufferImpl::freeImpl (gnu::gcj::RawData* 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
}