mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-22 03:15:59 +00:00
c484a5fbd3
* gnu/java/nio/natDirectByteBufferImpl.cc (allocateImpl): jlong -> RawData*. (freeImpl): Likewise. From-SVN: r66760
46 lines
928 B
C++
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
|
|
}
|