diff options
author | Andrew Haley <aph@redhat.com> | 2005-04-29 20:02:47 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2005-04-29 20:02:47 +0000 |
commit | cfbb263896c3cba070727a176ec3fb9b8e08cec5 (patch) | |
tree | bc7b9832c3521050b7b3e842cfe63eb9cd025f8a /libjava/java/lang | |
parent | 13ea650c588514e9c6e693d2d775e33e62215c67 (diff) | |
download | gcc-cfbb263896c3cba070727a176ec3fb9b8e08cec5.zip gcc-cfbb263896c3cba070727a176ec3fb9b8e08cec5.tar.gz gcc-cfbb263896c3cba070727a176ec3fb9b8e08cec5.tar.bz2 |
Class.h (_Jv_ResolvePoolEntry): Declare as friend.
2005-04-29 Andrew Haley <aph@redhat.com>
* java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
From-SVN: r99016
Diffstat (limited to 'libjava/java/lang')
-rw-r--r-- | libjava/java/lang/Class.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/java/lang/Class.h b/libjava/java/lang/Class.h index a82089d..8548560 100644 --- a/libjava/java/lang/Class.h +++ b/libjava/java/lang/Class.h @@ -31,6 +31,7 @@ extern "C" void _Jv_RegisterClasses_Counted (const jclass *classes, // This must be predefined with "C" linkage. extern "C" void *_Jv_LookupInterfaceMethodIdx (jclass klass, jclass iface, int meth_idx); +extern "C" void *_Jv_ResolvePoolEntry (jclass this_class, jint index); // These are the possible values for the `state' field of the class // structure. Note that ordering is important here. Whenever the @@ -491,6 +492,8 @@ private: friend void ::_Jv_sharedlib_register_hook (jclass klass); + friend void *::_Jv_ResolvePoolEntry (jclass this_class, jint index); + // Chain for class pool. This also doubles as the ABI version // number. It is only used for this purpose at class registration // time, and only for precompiled classes. |