[kaffe] Documentation Patches for support.h

Michael Franz mvfranz at gmail.com
Sun Jul 3 16:05:53 PDT 2005


Hi,

I have a small change for the documentation in support.h.

Michael

Index: support.h
===================================================================
RCS file: /cvs/kaffe/kaffe/kaffe/kaffevm/support.h,v
retrieving revision 1.40
diff -u -r1.40 support.h
--- support.h	31 Mar 2005 10:39:27 -0000	1.40
+++ support.h	3 Jul 2005 23:14:06 -0000
@@ -59,7 +59,7 @@
  * that describes where the parameters are, where the return value should
  * go and what the signature of the method is.
  *
- * `jvalue' is a union defined in include/kaffejtypes.h.  It corresponds
+ * `jvalue' is a union defined in include/jni.h.  It corresponds
  * to an entry on the Java stack. 
  * The suffixes i,j,b,c,s,l,f,d access the corresponding element of
  * (Java) type int, long, boolean, char, short, ref, float, and double.
@@ -96,10 +96,10 @@
  * sysdepCallMethod must store the return value in the proper type at *ret.
  */
 typedef struct {
-	void*			function;
-	jvalue*			args;
+	void*			function; /* method information */
+	jvalue*			args;  /* treated as an array of method arguments */
 	jvalue*			ret;
-	int			nrargs;
+	int			nrargs; /* number of arguments in args */
 	int			argsize;
 	char			retsize;
 	char			rettype;




More information about the kaffe mailing list