Browse Source

[hl] Added Api.hasDebugger()

Nicolas Cannasse 3 years ago
parent
commit
f3c1a7d8f4
1 changed files with 3 additions and 0 deletions
  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
 }