Consider changing dynamic allocation of objects to automatic allocation
Closed this issue · 1 comments
Maknee commented
WIP AutomaticStorageAllocation branch
Maknee commented
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