MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / lua_setwarnf

Function lua_setwarnf

lib/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 3

checkcontrolFunction · 0.85
warnfcontFunction · 0.85
luaL_newstateFunction · 0.85

Calls 1

GFunction · 0.50

Tested by

no test coverage detected