-
-
Save Misiur/e0c0d27b8c08c6fca60ccae6d8903f79 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
#if macro | |
import neko.vm.Mutex; | |
import haxe.macro.Expr.Field; | |
#end | |
#if !macro | |
@:build(Macro.build()) | |
class Main | |
{ | |
public static function main() { | |
} | |
} | |
#else | |
class Macro | |
{ | |
private static var mutex:Mutex = new Mutex(); | |
public static function build():Array<Field> | |
{ | |
return []; | |
} | |
} | |
#end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment