summaryrefslogtreecommitdiffstats
path: root/libjava/include/jvm.h
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-04 20:49:27 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-04 20:49:27 +0000
commit2e1ddfaaaeb7479c9719878f400ada9d01d3773a (patch)
treef2e35a2ea96bcecfa7499a5ec8161bd2528c22d5 /libjava/include/jvm.h
parenta61eb77ebc7e5552d9502bc5c1ab36cf8b0f9f6f (diff)
downloadppe42-gcc-2e1ddfaaaeb7479c9719878f400ada9d01d3773a.tar.gz
ppe42-gcc-2e1ddfaaaeb7479c9719878f400ada9d01d3773a.zip
* defineclass.cc (handleMethodsBegin): Allocate _Jv_MethodBase
pointers. (handleMethodsEnd): Fixed error messages. Create a _Jv_JNIMethod if the method is native. * resolve.cc (ncode): Don't handle native methods. (_Jv_JNIMethod::ncode): New method. (_Jv_PrepareClass): Handle native methods. * jni.cc (call): Renamed from _Jv_JNI_conversion_call. Include AbstractMethodError.h. (add_char): New function. (mangled_name): Likewise. * include/java-interp.h (class _Jv_JNIMethod): New class. (class _Jv_MethodBase): New class. (class _Jv_InterpMethod): Derive from _Jv_MethodBase. (_Jv_InterpClass): Changed `interpreted_methods' field to type `_Jv_MethodBase'. * include/jvm.h (_Jv_FindSymbolInExecutable): Declare. * java/lang/natRuntime.cc (libraries_size, libraries_count, libraries): New globals. (add_library): New function. (_Jv_FindSymbolInExecutable): New function. * java/lang/natClassLoader.cc (initiated_classes, loaded_classes): Now static. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31790 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include/jvm.h')
-rw-r--r--libjava/include/jvm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h
index ccf552aaf19..325fe939095 100644
--- a/libjava/include/jvm.h
+++ b/libjava/include/jvm.h
@@ -201,6 +201,9 @@ extern "C"
extern char *_Jv_ThisExecutable (void);
extern void _Jv_ThisExecutable (const char *);
+/* Return a pointer to a symbol in executable or loaded library. */
+void *_Jv_FindSymbolInExecutable (const char *);
+
/* Initialize JNI. */
extern void _Jv_JNI_Init (void);
OpenPOWER on IntegriCloud