瀏覽代碼

Lua: Add Lua.select extern

Justin Donaldson 9 年之前
父節點
當前提交
f0ebe8ee4a
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      std/lua/Lua.hx

+ 2 - 0
std/lua/Lua.hx

@@ -1,4 +1,5 @@
 package lua;
+import haxe.extern.Rest;
 
 /**
   These are all global static methods within lua
@@ -16,4 +17,5 @@ extern class Lua {
 	public static function tonumber(str:String, base:Int): Int;
 	public static function type(v:Dynamic): String;
 	public static function print(v:Dynamic) : Void;
+	public static function select(n:Dynamic, rest:Rest<Dynamic>) : Dynamic;
 }