MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / lua_setwarnf

Function lua_setwarnf

3rd/lua-5.4.3/src/lapi.c:1319–1324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1317
1318
1319void lua_setwarnf (lua_State *L, lua_WarnFunction f, void *ud) {
1320 lua_lock(L);
1321 G(L)->ud_warn = ud;
1322 G(L)->warnf = f;
1323 lua_unlock(L);
1324}
1325
1326
1327void 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