This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: updated comment


I'm checking in this patch from Alex.
It adds some clarifying text to a comment.

2000-04-03  Tom Tromey  <tromey@cygnus.com>

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

Tom

Index: include/jvm.h
===================================================================
RCS file: /cvs/java/libgcj/libjava/include/jvm.h,v
retrieving revision 1.20
diff -u -r1.20 jvm.h
--- jvm.h	2000/04/02 15:34:17	1.20
+++ jvm.h	2000/04/03 23:34:52
@@ -125,7 +125,8 @@
 // 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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]