예제 #1
0
 static internal bool checkType(IntPtr l, int p, out float v)
 {
     v = (float)LuaDLL.luaL_checknumber(l, p);
     return(true);
 }
예제 #2
0
 static public bool checkType(IntPtr l, int p, out double v)
 {
     v = LuaDLL.luaL_checknumber(l, p);
     return(true);
 }