Ver Fonte

[lua] make the TableTool addfeature a no-op in the output

Justin Donaldson há 9 anos atrás
pai
commit
f98ace3def
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      std/lua/TableTools.hx

+ 1 - 1
std/lua/TableTools.hx

@@ -10,6 +10,6 @@ extern class TableTools {
 	public static function unpack<Int,V>(args:lua.Table<Int,V>, ?min : Int, ?max : Int) : Dynamic;
 	public static function maxn(t:Table.AnyTable) : Int;
 	public static function __init__() : Void {
-	  untyped _hx_table = __define_feature__("use._hx_table", _hx_table);
+	   untyped __define_feature__("use._hx_table", null);
 	}
 }