support haxe v4
This commit is contained in:
@@ -42,11 +42,12 @@ class BindableMacros {
|
|||||||
processed.push(tName);
|
processed.push(tName);
|
||||||
|
|
||||||
var classType = type.getClass();
|
var classType = type.getClass();
|
||||||
|
#if (haxe < "4.0.0")
|
||||||
Context.onMacroContextReused(function () {
|
Context.onMacroContextReused(function () {
|
||||||
processed = [];
|
processed = [];
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
#end
|
||||||
|
|
||||||
if (bindingSignalProvider == null) {
|
if (bindingSignalProvider == null) {
|
||||||
bindingSignalProvider = new bindx.macro.BindSignalProvider();
|
bindingSignalProvider = new bindx.macro.BindSignalProvider();
|
||||||
|
|||||||
Reference in New Issue
Block a user