Tao.Lua.Lua.luaL_optlong C# (CSharp) Method

luaL_optlong() public static method

If the function argument narg is a number, returns this number cast to a long. If this argument is absent or is nil, returns d. Otherwise, raises an error.
public static luaL_optlong ( lua_State L, int n, int d ) : int
L lua_State
n int
d int
return int
        public static int luaL_optlong(lua_State L, int n, int d)
        {
            return luaL_optinteger(L, n, d);
        }
Lua