-- sync with slavara.haxe.core