diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-04-03 23:36:49 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-04-03 23:36:49 +0000 |
commit | 6719cc92e8cd172434a8c426bd9311a5f31b3c47 (patch) | |
tree | a8e4b9346f978f0df8d1b6a4a4558b210eb706ff /libjava/include | |
parent | a51042110f7b12f90ca1dfd6a96e99ea946a5c72 (diff) | |
download | gcc-6719cc92e8cd172434a8c426bd9311a5f31b3c47.zip gcc-6719cc92e8cd172434a8c426bd9311a5f31b3c47.tar.gz gcc-6719cc92e8cd172434a8c426bd9311a5f31b3c47.tar.bz2 |
jvm.h (_Jv_GetArrayElementFromElementType): More commentary from Alex.
* include/jvm.h (_Jv_GetArrayElementFromElementType): More
commentary from Alex.
From-SVN: r32894
Diffstat (limited to 'libjava/include')
-rw-r--r-- | libjava/include/jvm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h index 19b03fb..625a11e 100644 --- a/libjava/include/jvm.h +++ b/libjava/include/jvm.h @@ -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) |