| 1320 | |
| 1321 | |
| 1322 | LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud) { |
| 1323 | lua_lock(L); |
| 1324 | G(L)->ud = ud; |
| 1325 | G(L)->frealloc = f; |
| 1326 | lua_unlock(L); |
| 1327 | } |
| 1328 | |
| 1329 | |
| 1330 | void lua_setwarnf (lua_State *L, lua_WarnFunction f, void *ud) { |
nothing calls this directly
no outgoing calls
no test coverage detected