MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / panic

Function panic

lua/src/lauxlib.c:1022–1028  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1020
1021
1022static int panic (lua_State *L) {
1023 const char *msg = lua_tostring(L, -1);
1024 if (msg == NULL) msg = "error object is not a string";
1025 lua_writestringerror("PANIC: unprotected error in call to Lua API (%s)\n",
1026 msg);
1027 return 0; /* return to Lua to abort */
1028}
1029
1030
1031/*

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected