Explorar o código

[hl] Added Api.hasDebugger()

Nicolas Cannasse %!s(int64=3) %!d(string=hai) anos
pai
achega
f3c1a7d8f4
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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", "sys_check_reload") static function checkReload( ?debugFile : hl.Bytes ) : Bool;
 	#end
+	#if (hl_ver >= version("1.13.0"))
+	@:hlNative("?std", "has_debugger") static function hasDebugger() : Bool;
+	#end
 }