| 1085 | |
| 1086 | |
| 1087 | LUALIB_API lua_State *luaL_newstate (void) { |
| 1088 | lua_State *L = lua_newstate(l_alloc, NULL); |
| 1089 | if (l_likely(L)) { |
| 1090 | lua_atpanic(L, &panic); |
| 1091 | lua_setwarnf(L, warnfoff, L); /* default is warnings off */ |
| 1092 | } |
| 1093 | return L; |
| 1094 | } |
| 1095 | |
| 1096 | |
| 1097 | LUALIB_API void luaL_checkversion_ (lua_State *L, lua_Number ver, size_t sz) { |
no test coverage detected