You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by dl...@apache.org on 2007/08/12 23:05:05 UTC

svn commit: r565149 - /harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/classfile.h

Author: dlydick
Date: Sun Aug 12 14:05:04 2007
New Revision: 565149

URL: http://svn.apache.org/viewvc?view=rev&rev=565149
Log:
Include 'classpath.h' for typedef (struct classpath_search).

Added classfile_read() prototype which needs classpath_search.

Modified:
    harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/classfile.h

Modified: harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/classfile.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/classfile.h?view=diff&rev=565149&r1=565148&r2=565149
==============================================================================
--- harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/classfile.h (original)
+++ harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/classfile.h Sun Aug 12 14:05:04 2007
@@ -884,6 +884,7 @@
         jvm_class_index clsidxJVM;   /**< JVM class table index of
                                           this class */
 
+#warning Confusion between field index and field lookup index.
         jvm_field_index fluidxJVM;   /**< JVM class table field lookup
                                         index of this field */
 
@@ -2855,11 +2856,12 @@
 
 /* Prototypes for functions in 'classfile.c' */
 
+#include "classpath.h" /* Need classpath_search typedef */
+
 extern ClassFile *classfile_allocate_primative(jvm_basetype basetype);
 extern ClassFile *classfile_load_classdata(u1     *classfile_image);
 extern rvoid classfile_unload_classdata(ClassFile *pcfs);
-extern u1 *classfile_read_classfile(rchar *filename);
-extern u1 *classfile_read_jarfile(rchar *filename);
+extern u1 *classfile_read(classpath_search *pcpsr, rboolean freecpsr);
 
 /* Prototypes for functions in 'cfattrib.c' */
 extern u1 *cfattrib_load_elementvalue(ClassFile              *pcfs,