* Removed all Id tags.
[cacao.git] / src / vmcore / field.h
index 00616399d4c8aac0d891afdd21d6a4bc3c28c284..4f9dcd121ffe8076674a1ba7c0c12f9679a3da36 100644 (file)
@@ -22,7 +22,6 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   $Id: field.h 8132 2007-06-22 11:15:47Z twisti $
 */
 
 
@@ -41,6 +40,7 @@ typedef struct fieldinfo fieldinfo;
 
 #include "vmcore/descriptor.h"
 #include "vmcore/class.h"
+#include "vmcore/loader.h"
 #include "vmcore/references.h"
 #include "vmcore/utf8.h"
 
@@ -64,17 +64,19 @@ struct fieldinfo {        /* field of a class                                 */
        utf       *signature; /* Signature attribute string                       */
        typedesc  *parseddesc;/* parsed descriptor                                */
 
-       s4         offset;    /* offset from start of object (instance variables) */
-
-       imm_union  value;     /* storage for static values (class variables)      */
+       int32_t    offset;    /* offset from start of object (instance variables) */
+       imm_union *value;     /* storage for static values (class variables)      */
 };
 
 
 /* function prototypes ********************************************************/
 
+bool       field_load(classbuffer *cb, fieldinfo *f, descriptor_pool *descpool);
 classinfo *field_get_type(fieldinfo *f);
 void       field_free(fieldinfo *f);
 
+java_handle_bytearray_t *field_get_annotations(fieldinfo *f);
+
 #if !defined(NDEBUG)
 void field_printflags(fieldinfo *f);
 void field_print(fieldinfo *f);