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

Function xlua_csharp_str_error

WebGLPlugins/xlua.c:809–815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

807}
808
809LUALIB_API int xlua_csharp_str_error(lua_State* L, const char* msg)
810{
811 lua_pushboolean(L, 1);
812 lua_replace(L, lua_upvalueindex(2));
813 lua_pushstring(L, msg);
814 return 1;
815}
816
817LUALIB_API int xlua_csharp_error(lua_State* L)
818{

Callers 1

luaL_errorMethod · 0.85

Calls 3

lua_pushbooleanFunction · 0.85
lua_replaceFunction · 0.85
lua_pushstringFunction · 0.85

Tested by

no test coverage detected