MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / lua_setwarnf

Function lua_setwarnf

Dependencies/lua/src/lapi.c:1327–1332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

luaB_opentestsFunction · 0.85
checkcontrolFunction · 0.85
warnfcontFunction · 0.85
luaL_newstateFunction · 0.85

Calls

no outgoing calls

Tested by 1

luaB_opentestsFunction · 0.68