From ee6713e782d582a0fa150ed53842df0e258c028e Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 2 Feb 2000 01:55:03 +0000 Subject: java-interp.h (_Jv_JNI_conversion_call): Declare. * include/java-interp.h (_Jv_JNI_conversion_call): Declare. * resolve.cc (ncode): Use _Jv_JNI_conversion_call when constructing the closure if the function is native. * jni.cc (_Jv_JNI_conversion_call): Now returns `void'. No longer a template function, #if'd out, or static. Include . From-SVN: r31746 --- libjava/include/java-interp.h | 5 ++++- libjava/include/jvm.h | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'libjava/include') diff --git a/libjava/include/java-interp.h b/libjava/include/java-interp.h index 8225455..0feab21 100644 --- a/libjava/include/java-interp.h +++ b/libjava/include/java-interp.h @@ -1,6 +1,6 @@ // java-interp.h - Header file for the bytecode interpreter. -*- c++ -*- -/* Copyright (C) 1999 Red Hat, Inc. +/* Copyright (C) 1999, 2000 Red Hat, Inc. This file is part of libgcj. @@ -121,6 +121,9 @@ class _Jv_InterpMethod { friend class gnu::gcj::runtime::MethodInvocation; friend void _Jv_PrepareClass(jclass); + + // This function is used when making a JNI call from the interpreter. + friend void _Jv_JNI_conversion_call (ffi_cif *, void *, ffi_raw *, void *); }; class _Jv_InterpMethodInvocation { diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h index c9eb1b95..ccf552a 100644 --- a/libjava/include/jvm.h +++ b/libjava/include/jvm.h @@ -204,5 +204,4 @@ extern void _Jv_ThisExecutable (const char *); /* Initialize JNI. */ extern void _Jv_JNI_Init (void); - #endif /* __JAVA_JVM_H__ */ -- cgit v1.1