Browse Source

added mem_compact (hl 1.12)

Nicolas Cannasse 3 years ago
parent
commit
5f7deeb549
1 changed files with 1 additions and 0 deletions
  1. 1 0
      std/hl/Api.hx

+ 1 - 0
std/hl/Api.hx

@@ -43,5 +43,6 @@ extern class Api {
 	@:hlNative("std", "ptr_compare") static function comparePointer(a:Dynamic, b:Dynamic):Int;
 	#if (hl_ver >= version("1.12.0"))
 	@: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;
 	#end
 }