MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / lua_setwarnf

Function lua_setwarnf

extlibs/lua/src/lapi.c:1282–1287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1280
1281
1282void lua_setwarnf (lua_State *L, lua_WarnFunction f, void *ud) {
1283 lua_lock(L);
1284 G(L)->ud_warn = ud;
1285 G(L)->warnf = f;
1286 lua_unlock(L);
1287}
1288
1289
1290void lua_warning (lua_State *L, const char *msg, int tocont) {

Callers 1

luaL_newstateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected