MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / luaL_newstate

Function luaL_newstate

lib/lua/src/lauxlib.c:1108–1115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1106
1107
1108LUALIB_API lua_State *luaL_newstate (void) {
1109 lua_State *L = lua_newstate(l_alloc, NULL);
1110 if (l_likely(L)) {
1111 lua_atpanic(L, &panic);
1112 lua_setwarnf(L, warnfoff, L); /* default is warnings off */
1113 }
1114 return L;
1115}
1116
1117
1118LUALIB_API void luaL_checkversion_ (lua_State *L, lua_Number ver, size_t sz) {

Callers 9

mainFunction · 0.85
mainFunction · 0.85
compileMethod · 0.85
definesMqttFunctionMethod · 0.85
runScriptMethod · 0.85
compileTransformsLuaMethod · 0.85
validateTransformMethod · 0.85
testTransformMethod · 0.85
createStateMethod · 0.85

Calls 2

lua_newstateFunction · 0.85
lua_setwarnfFunction · 0.85

Tested by

no test coverage detected