MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / lua_setwarnf

Function lua_setwarnf

lua/src/lapi.c:1330–1335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1328
1329
1330void lua_setwarnf (lua_State *L, lua_WarnFunction f, void *ud) {
1331 lua_lock(L);
1332 G(L)->ud_warn = ud;
1333 G(L)->warnf = f;
1334 lua_unlock(L);
1335}
1336
1337
1338void lua_warning (lua_State *L, const char *msg, int tocont) {

Callers 3

checkcontrolFunction · 0.85
warnfcontFunction · 0.85
luaL_newstateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected