Răsfoiți Sursa

[hl] Added Api.hasDebugger()

Nicolas Cannasse 3 ani în urmă
părinte
comite
f3c1a7d8f4
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  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
 }