Replaced the many implement macros with a single one that takes arguments instead

This commit is contained in:
Leonard2 2016-11-05 18:27:14 +01:00
commit bb2d61de50
126 changed files with 365 additions and 388 deletions

View file

@ -34,15 +34,15 @@
#include <new>
#include "vm.h"
IMPLEMENT_CLASS(VMException)
IMPLEMENT_ABSTRACT_POINTY_CLASS(VMFunction)
IMPLEMENT_CLASS(VMException, false, false, false)
IMPLEMENT_CLASS(VMFunction, true, true, false)
IMPLEMENT_POINTERS_START(VMFunction)
IMPLEMENT_POINTER(Proto)
IMPLEMENT_POINTERS_END
IMPLEMENT_CLASS(VMScriptFunction)
IMPLEMENT_CLASS(VMNativeFunction)
IMPLEMENT_CLASS(VMScriptFunction, false, false, false)
IMPLEMENT_CLASS(VMNativeFunction, false, false, false)
VMScriptFunction::VMScriptFunction(FName name)
{