Ver código fonte

[hl] Added Api.hasDebugger()

Nicolas Cannasse 2 anos atrás
pai
commit
f3c1a7d8f4
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      std/hl/Api.hx

+ 3 - 0
std/hl/Api.hx

@@ -46,4 +46,7 @@ extern class Api {
 	@:hlNative("?std", "mem_compact") static function compact<T>( v : T, exclude : hl.NativeArray<Dynamic>, flags : Int, outCount : hl.Ref<Int> ) : T;
 	@:hlNative("?std", "mem_compact") static function compact<T>( v : T, exclude : hl.NativeArray<Dynamic>, flags : Int, outCount : hl.Ref<Int> ) : T;
 	@:hlNative("?std", "sys_check_reload") static function checkReload( ?debugFile : hl.Bytes ) : Bool;
 	@:hlNative("?std", "sys_check_reload") static function checkReload( ?debugFile : hl.Bytes ) : Bool;
 	#end
 	#end
+	#if (hl_ver >= version("1.13.0"))
+	@:hlNative("?std", "has_debugger") static function hasDebugger() : Bool;
+	#end
 }
 }