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

luaL_dofile() public static method

Loads and runs the given file.
public static luaL_dofile ( lua_State L, string fn ) : int
L lua_State
fn string
return int
        public static int luaL_dofile(lua_State L, string fn)
        {
            return luaL_loadfile(L, fn) | lua_pcall(L, LUA_MULTRET, 0, 0);
        }
Lua