소스 검색

Lua: add Lua.type

Justin Donaldson 10 년 전
부모
커밋
cf248f8d0c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      std/lua/Lua.hx

+ 1 - 0
std/lua/Lua.hx

@@ -14,4 +14,5 @@ extern class Lua {
 	public static function ipairs<T>(t: Table<Int,T>): Void->T;
 	public static function pairs<A,B>(t: Table<A,B>): Void->A;
 	public static function tonumber(str:String, base:Int): Int;
+	public static function type(v:Dynamic): String;
 }