jvm.h (_Jv_GetArrayElementFromElementType): More commentary from Alex.

* include/jvm.h (_Jv_GetArrayElementFromElementType): More
	commentary from Alex.

From-SVN: r32894
This commit is contained in:
Tom Tromey 2000-04-03 23:36:49 +00:00 committed by Tom Tromey
parent a51042110f
commit 6719cc92e8
2 changed files with 5 additions and 1 deletions

View file

@ -125,7 +125,8 @@ _Jv_HashCode (jobject obj)
// Return a raw pointer to the elements of an array given the array
// and its element type. You might think we could just pick a single
// array type and use elements() on it, but we can't because we must
// account for alignment of the element type.
// account for alignment of the element type. When ARRAY is null, we
// obtain the number of bytes taken by the base part of the array.
inline char *
_Jv_GetArrayElementFromElementType (jobject array,
jclass element_type)