MCPcopy Create free account
hub / github.com/Tencent/xLua / Panic

Function Panic

Assets/XLua/Src/StaticLuaCallbacks.cs:594–599  ·  view source on GitHub ↗
(RealStatePtr L)

Source from the content-addressed store, hash-verified

592
593
594 [MonoPInvokeCallback(typeof(LuaCSFunction))]
595 internal static int Panic(RealStatePtr L)
596 {
597 string reason = String.Format("unprotected error in call to Lua API ({0})", LuaAPI.lua_tostring(L, -1));
598 throw new LuaException(reason);
599 }
600
601#if !XLUA_GENERAL
602 [MonoPInvokeCallback(typeof(LuaCSFunction))]

Callers

nothing calls this directly

Calls 1

lua_tostringMethod · 0.80

Tested by

no test coverage detected