diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-02-02 01:55:03 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-02-02 01:55:03 +0000 |
commit | ee6713e782d582a0fa150ed53842df0e258c028e (patch) | |
tree | 8cea920cda9b81eaa6f6464de2909e0016f6ec15 /libjava/include/java-interp.h | |
parent | 8928191114d5e13d4649a79dea5ca0328285fb8c (diff) | |
download | gcc-ee6713e782d582a0fa150ed53842df0e258c028e.zip gcc-ee6713e782d582a0fa150ed53842df0e258c028e.tar.gz gcc-ee6713e782d582a0fa150ed53842df0e258c028e.tar.bz2 |
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 <java-interp.h>.
From-SVN: r31746
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 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 { |