explorer: fixed compile errors or whatnot.
[ede] / explorer / src / Structures / ArrayUtilities.ec
1 public import "ecere"
2
3 private:
4
5 // would be nice not to have to do this
6 define sizeoftype = GetTypeSize(type);
7 int GetTypeSize(Class type)
8 {
9    // todo tocheck: is this code any good?
10    /*if(!strcmp(type.name, "int"))
11       return sizeof(int);
12    else if(!strcmp(type.name, "unsigned int"))
13       return sizeof(uint);
14    else
15       */return type.typeSize;
16 }