mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-24 12:25:58 +00:00
5560b019e4
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. From-SVN: r66727
45 lines
873 B
C++
45 lines
873 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/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
|
|
}
|