| 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