| 1335 | |
| 1336 | |
| 1337 | void lua_setwarnf (lua_State *L, lua_WarnFunction f, void *ud) { |
| 1338 | lua_lock(L); |
| 1339 | G(L)->ud_warn = ud; |
| 1340 | G(L)->warnf = f; |
| 1341 | lua_unlock(L); |
| 1342 | } |
| 1343 | |
| 1344 | |
| 1345 | void lua_warning (lua_State *L, const char *msg, int tocont) { |
no outgoing calls
no test coverage detected