mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 20:01:22 -05:00
* gnu/java/nio/ByteBufferImpl.java (nio_cast): Removed. (ByteBufferImpl): Removed. (nio_get_Byte): Removed. (nio_put_Byte): Removed. (asByteBuffer): Removed. (asCharBuffer): Removed implementation and throw exception. (asShortBuffer): Likewise. (asIntBuffer): Likewise. (asLongBuffer): Likewise. (asFloatBuffer): Likewise. (asDoubleBuffer): Likewise. * gnu/java/nio/CharBufferImpl.java (CharBufferImpl): Removed. (nio_get_Byte): Removed. (nio_put_Byte): Removed. (asByteBuffer): Removed. * gnu/java/nio/DoubleBufferImpl.java (DoubleBufferImpl): Removed. (nio_get_Byte): Removed. (nio_put_Byte): Removed. (asByteBuffer): Removed. * gnu/java/nio/FloatBufferImpl.java (FloatBufferImpl): Removed. (nio_get_Byte): Removed. (nio_put_Byte): Removed. (asByteBuffer): Removed. * gnu/java/nio/IntBufferImpl.java (IntBufferImpl): Removed. (nio_get_Byte): Removed. (nio_put_Byte): Removed. (asByteBuffer): Removed. * gnu/java/nio/LongBufferImpl.java (LongBufferImpl): Removed. (nio_get_Byte): Removed. (nio_put_Byte): Removed. (asByteBuffer): Removed. * gnu/java/nio/ShortBufferImpl.java (ShortBufferImpl): Removed. (nio_get_Byte): Removed. (nio_put_Byte): Removed. (asByteBuffer): Removed. * gnu/java/nio/natByteBufferImpl.cc (nio_cast): Removed. (nio_get_Byte): Removed. (nio_put_Byte): Removed. * gnu/java/nio/natCharBufferImpl.cc (nio_get_Byte): Removed. (nio_put_Byte): Removed. From-SVN: r66626
83 lines
1.7 KiB
C++
83 lines
1.7 KiB
C++
// natByteBufferImpl.cc
|
|
|
|
/* Copyright (C) 2002, 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/ByteBufferImpl.h>
|
|
|
|
void
|
|
gnu::java::nio::ByteBufferImpl::nio_put_Char(gnu::java::nio::ByteBufferImpl*, jint, jint, jchar)
|
|
{
|
|
}
|
|
|
|
void
|
|
gnu::java::nio::ByteBufferImpl::nio_put_Short(gnu::java::nio::ByteBufferImpl*, jint, jint, jshort)
|
|
{
|
|
}
|
|
|
|
void
|
|
gnu::java::nio::ByteBufferImpl::nio_put_Int(gnu::java::nio::ByteBufferImpl*, jint, jint, jint)
|
|
{
|
|
}
|
|
|
|
void
|
|
gnu::java::nio::ByteBufferImpl::nio_put_Long(gnu::java::nio::ByteBufferImpl*, jint, jint, jlong)
|
|
{
|
|
}
|
|
|
|
void
|
|
gnu::java::nio::ByteBufferImpl::nio_put_Float(gnu::java::nio::ByteBufferImpl*, jint, jint, jfloat)
|
|
{
|
|
}
|
|
|
|
void
|
|
gnu::java::nio::ByteBufferImpl::nio_put_Double(gnu::java::nio::ByteBufferImpl*, jint, jint, jdouble)
|
|
{
|
|
}
|
|
|
|
jchar
|
|
gnu::java::nio::ByteBufferImpl::nio_get_Char(gnu::java::nio::ByteBufferImpl*, jint, jint)
|
|
{
|
|
return ' ';
|
|
}
|
|
|
|
jshort
|
|
gnu::java::nio::ByteBufferImpl::nio_get_Short(gnu::java::nio::ByteBufferImpl*, jint, jint)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
jint
|
|
gnu::java::nio::ByteBufferImpl::nio_get_Int(gnu::java::nio::ByteBufferImpl*, jint, jint)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
jlong
|
|
gnu::java::nio::ByteBufferImpl::nio_get_Long(gnu::java::nio::ByteBufferImpl*, jint, jint)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
jfloat
|
|
gnu::java::nio::ByteBufferImpl::nio_get_Float(gnu::java::nio::ByteBufferImpl*, jint, jint)
|
|
{
|
|
return 0.0;
|
|
}
|
|
|
|
jdouble
|
|
gnu::java::nio::ByteBufferImpl::nio_get_Double(gnu::java::nio::ByteBufferImpl*, jint, jint)
|
|
{
|
|
return 0.0;
|
|
}
|