Ecere Software
/
ede
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
explorer: fixed compile errors or whatnot.
[ede]
/
explorer
/
src
/
Structures
/
ArrayUtilities.ec
diff --git
a/explorer/src/Structures/ArrayUtilities.ec
b/explorer/src/Structures/ArrayUtilities.ec
index
bb305a4
..
040d1fe
100644
(file)
--- a/
explorer/src/Structures/ArrayUtilities.ec
+++ b/
explorer/src/Structures/ArrayUtilities.ec
@@
-6,5
+6,11
@@
private:
define sizeoftype = GetTypeSize(type);
int GetTypeSize(Class type)
{
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;
}
}