diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-12 06:53:42 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-12 06:53:42 +0000 |
commit | 307719b97143646f73530f046493efc507351385 (patch) | |
tree | ddcf219c5b73f37a94e4a0d174408bc041874a8e /libjava/gcj/cni.h | |
parent | 3b50f8cbc13e04294332211ea899d8cf19a3e1be (diff) | |
download | gcc-307719b97143646f73530f046493efc507351385.tar.gz |
* gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
with private fields and access methods.
(_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
* gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
* prims.cc (_Jv_Utf8COnst::init): New method implementation.
( _Jv_makeUtf8Const): Rewrite using new constructors.
(hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
* defineclass.cc: Use new _Utf8Const access/convenience methods.
* jni.cc: Likewise.
* resolve.cc: Likewise.
* gcj/field.h: Likewise.
* include/jvm.h: Likewise.
* java/lang/Class.h: Likewise.
* java/lang/natClass.cc: Likwise.
* java/lang/natClassLoader.cc: Likewise
* java/lang/reflect/natMethod.cc: Likewise
* verify.cc: Likewise.
(_Jv_BytecodeVerifier::make_utf8_const): Optimize.
(~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85854 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gcj/cni.h')
-rw-r--r-- | libjava/gcj/cni.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libjava/gcj/cni.h b/libjava/gcj/cni.h index b9ee3829ce1..ee39738d228 100644 --- a/libjava/gcj/cni.h +++ b/libjava/gcj/cni.h @@ -20,7 +20,6 @@ details. */ #include <string.h> -extern "C" jstring _Jv_NewStringUTF (const char *bytes); extern "C" void _Jv_InitClass (jclass); extern "C" void *_Jv_AllocBytes (jsize size) __attribute__((__malloc__)); |