diff --git a/extraParams.hxml b/extraParams.hxml index 28863b1..583d759 100644 --- a/extraParams.hxml +++ b/extraParams.hxml @@ -1,3 +1,4 @@ --macro keep('IntIterator') --macro hscript.macros.AbstractHandler.init() --macro hscript.macros.ClassExtendMacro.init() +--macro hscript.macros.CustomClassMacro.init() diff --git a/hscript/macros/ClassExtendMacro.hx b/hscript/macros/ClassExtendMacro.hx index e6f0eb3..441c485 100644 --- a/hscript/macros/ClassExtendMacro.hx +++ b/hscript/macros/ClassExtendMacro.hx @@ -26,9 +26,11 @@ class ClassExtendMacro { #if !display #if CUSTOM_CLASSES if(Context.defined("display")) return; + /* for(apply in Config.ALLOWED_CUSTOM_CLASSES) { Compiler.addGlobalMetadata(apply, "@:build(hscript.macros.ClassExtendMacro.build())"); } + */ //Context.onAfterTyping(buildTyped); #end #end