예제 #1
0
        private static int ThrowLuaError(ScriptState luaState)
        {
            string reason = string.Format("Unprotected error in call to Lua API ({0})",
                                          LuaCore.ToString(luaState, -1));

            throw new LuaException(reason);
        }