ソースを参照

[lua] add Lua.require extern

Justin Donaldson 9 年 前
コミット
6dc9a89a13
1 ファイル変更2 行追加0 行削除
  1. 2 0
      std/lua/Lua.hx

+ 2 - 0
std/lua/Lua.hx

@@ -67,6 +67,8 @@ extern class Lua {
 
 	public static function pairs<A,B>(t:Table<A,B>): Void->A;
 
+	public static function require(module:String) : Dynamic;
+
 	/**
 		Converts the Lua value at the given acceptable base to `Int`. 
 		The Lua value must be a number or a string convertible to a number,