| 1426 | |
| 1427 | |
| 1428 | LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud) { |
| 1429 | lua_lock(L); |
| 1430 | G(L)->ud = ud; |
| 1431 | G(L)->frealloc = f; |
| 1432 | lua_unlock(L); |
| 1433 | } |
| 1434 | |
| 1435 | |
| 1436 | void lua_setwarnf (lua_State *L, lua_WarnFunction f, void *ud) { |
nothing calls this directly
no outgoing calls
no test coverage detected