field.h (struct _Jv_Field): Use "jshort" as type for nameIndex.

* gcj/field.h (struct _Jv_Field): Use "jshort" as type for
	nameIndex.  Use "jint" as type for boffset.
	* java/lang/Class.h (struct _Jv_Method): Made accflags a
	_Jv_ushort.
	(Class): Likewise.  Also changed type of method_count,
	vtable_method_count, size_in_bytes, field_count,
	static_field_count, interface_count.
	* gcj/array.h (__JArray): Made `length' a const jsize, not an
	int.

From-SVN: r31621
This commit is contained in:
Tom Tromey 2000-01-26 00:55:50 +00:00
parent 7554ad67e5
commit 0507a9b19f
3 changed files with 13 additions and 11 deletions

View file

@ -18,7 +18,9 @@ extern "Java" {
class __JArray : public java::lang::Object
{
public:
int length;
// FIXME: we'd like this to be `const' but that causes problems with
// the C++ compiler.
jsize length;
friend jsize JvGetArrayLength (__JArray*);
};