| 1173 | |
| 1174 | |
| 1175 | LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud) { |
| 1176 | lua_lock(L); |
| 1177 | G(L)->ud = ud; |
| 1178 | G(L)->frealloc = f; |
| 1179 | lua_unlock(L); |
| 1180 | } |
| 1181 | |
| 1182 | |
| 1183 | LUA_API void *lua_newuserdata (lua_State *L, size_t size) { |
nothing calls this directly
no outgoing calls
no test coverage detected