summaryrefslogtreecommitdiff
path: root/libjava/include
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-03 23:36:49 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-03 23:36:49 +0000
commit75479ed5e70184c42d50248e80bcf5d49db93a6d (patch)
treea8e4b9346f978f0df8d1b6a4a4558b210eb706ff /libjava/include
parent1f33ed7939090acaa93c45c43872ecb746584cc2 (diff)
downloadgcc-75479ed5e70184c42d50248e80bcf5d49db93a6d.tar.gz
* include/jvm.h (_Jv_GetArrayElementFromElementType): More
commentary from Alex. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32894 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/jvm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h
index 19b03fbc9c6..625a11e2148 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)