diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-02 01:55:03 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-02 01:55:03 +0000 |
commit | dc4f3497079e0abc7e97a2734a18c16e71c3b299 (patch) | |
tree | 8cea920cda9b81eaa6f6464de2909e0016f6ec15 /libjava/include/java-interp.h | |
parent | c0eb51daa0df0651103f474c15acec4f02c93a6a (diff) | |
download | gcc-dc4f3497079e0abc7e97a2734a18c16e71c3b299.tar.gz |
* 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 <java-interp.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31746 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include/java-interp.h')
-rw-r--r-- | libjava/include/java-interp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libjava/include/java-interp.h b/libjava/include/java-interp.h index 822545565c2..0feab21762c 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 { |