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
This commit is contained in:
Andrew Haley 2005-04-29 20:02:47 +00:00 committed by Tom Tromey
parent 13ea650c58
commit cfbb263896
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2005-04-29 Andrew Haley <aph@redhat.com>
* java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
2005-04-29 Dalibor Topic <robilad@kaffe.org>
* java/nio/channels/FileChannelImpl.java

View file

@ -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.