ソースを参照

fixed signature

Nicolas Cannasse 3 年 前
コミット
532d069b99
1 ファイル変更1 行追加1 行削除
  1. 1 1
      std/hl/Api.hx

+ 1 - 1
std/hl/Api.hx

@@ -43,6 +43,6 @@ extern class Api {
 	@:hlNative("std", "ptr_compare") static function comparePointer(a:Dynamic, b:Dynamic):Int;
 	@:hlNative("std", "ptr_compare") static function comparePointer(a:Dynamic, b:Dynamic):Int;
 	#if (hl_ver >= version("1.12.0"))
 	#if (hl_ver >= version("1.12.0"))
 	@:hlNative("std", "is_prim_loaded") static function isPrimLoaded(f:haxe.Constraints.Function):Bool;
 	@:hlNative("std", "is_prim_loaded") static function isPrimLoaded(f:haxe.Constraints.Function):Bool;
-	@:hlNative("?std", "mem_compact") static function compact<T>( v : T, exclude : hl.NativeArray<Dynamic>, flags : Int ) : T;
+	@:hlNative("?std", "mem_compact") static function compact<T>( v : T, exclude : hl.NativeArray<Dynamic>, flags : Int, outCount : hl.Ref<Int> ) : T;
 	#end
 	#end
 }
 }