Update virtual pointers for C++ code...Various fixes to emit extern declarations.
[repair.git] / Repair / RepairCompiler / MCC / IR / StructureTypeDescriptor.java
index c5f197b0f5953af7a5f7a855ccaadbf05c89f0c4..a04b4162ead53f3e436c673f6c1b90266be8a5e0 100755 (executable)
@@ -17,6 +17,14 @@ public class StructureTypeDescriptor extends TypeDescriptor {
     Hashtable labels = new Hashtable();
 
 
+    public int size() {
+       return fieldlist.size();
+    }
+
+    public FieldDescriptor get(int i) {
+       return (FieldDescriptor) fieldlist.get(i);
+    }
+
     public StructureTypeDescriptor(String name) {
         super(name);
     }