| 1106 | |
| 1107 | |
| 1108 | LUALIB_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 | |
| 1118 | LUALIB_API void luaL_checkversion_ (lua_State *L, lua_Number ver, size_t sz) { |
no test coverage detected