瀏覽代碼

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

Justin Donaldson 9 年之前
父節點
當前提交
f98ace3def
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);
 	}
 }