瀏覽代碼

[hl] Added Api.hasDebugger()

Nicolas Cannasse 3 年之前
父節點
當前提交
f3c1a7d8f4
共有 1 個文件被更改,包括 3 次插入0 次删除
  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
 }