DisabledMallis/ClassBuilder

Generate Macro calls instead of direct calls

Closed this issue · 4 comments

So the generation should be changed to macros:

  • Utils::PreInit -> CLASSBUILDER_PREINIT
  • Mem::FindSig -> CLASSBUILDER_FINDSIG
  • Utils::DebugF -> CLASSBUILDER_DEBUG

This will allow to #define those to fit your needs

I knew I wanted to implement a way to configure external funcs and such, but this is such a brilliant and simple solution I can't believe I didn't think of! If you want to PR it, let me know now, otherwise I'll start working on an implementation.

Don't have time to do it rn, so you can implement it.

will do

Added on main branch