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

Function lua_error

WebGLPlugins/lapi.c:1113–1119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1111
1112
1113LUA_API int lua_error (lua_State *L) {
1114 lua_lock(L);
1115 api_checknelems(L, 1);
1116 luaG_errormsg(L);
1117 /* code unreachable; will unlock when control actually leaves the kernel */
1118 return 0; /* to avoid warnings */
1119}
1120
1121
1122LUA_API int lua_next (lua_State *L, int idx) {

Callers 6

luaB_errorFunction · 0.85
luaB_dofileFunction · 0.85
csharp_function_wrapFunction · 0.85
luaL_errorFunction · 0.85
luaB_auxwrapFunction · 0.85

Calls 1

luaG_errormsgFunction · 0.85

Tested by

no test coverage detected