Maknee/OOC

Consider changing dynamic allocation of objects to automatic allocation

Closed this issue · 1 comments

WIP AutomaticStorageAllocation branch

Could not figure out a way. The macros do not work out.
For example,
#define CallExpansion(type, function, ...) ((type ## VFTable*)((Object*)(type*)GET_FIRST_ARG((__VA_ARGS__)))->pVFTable)->function(__VA_ARGS__)
VA_ARGS cannot be all casted to addresses...

See 81b2ddd for failing build