explorer: fixed compile errors or whatnot.
[ede] / explorer / src / Structures / ArrayUtilities.ec
index bb305a4..040d1fe 100644 (file)
@@ -6,5 +6,11 @@ private:
 define sizeoftype = GetTypeSize(type);
 int GetTypeSize(Class type)
 {
-   return type.typeSize;
+   // todo tocheck: is this code any good?
+   /*if(!strcmp(type.name, "int"))
+      return sizeof(int);
+   else if(!strcmp(type.name, "unsigned int"))
+      return sizeof(uint);
+   else
+      */return type.typeSize;
 }