Lines Matching refs:warnstate
1015 int *warnstate = (int *)ud; in warnf() local
1016 if (*warnstate != 2 && !tocont && *message == '@') { /* control message? */ in warnf()
1018 *warnstate = 0; in warnf()
1020 *warnstate = 1; in warnf()
1023 else if (*warnstate == 0) /* warnings off? */ in warnf()
1025 if (*warnstate == 1) /* previous message was the last? */ in warnf()
1029 *warnstate = 2; /* to be continued */ in warnf()
1032 *warnstate = 1; /* ready to start a new message */ in warnf()
1040 int *warnstate; /* space for warning state */ in luaL_newstate() local
1042 warnstate = (int *)lua_newuserdatauv(L, sizeof(int), 0); in luaL_newstate()
1044 *warnstate = 0; /* default is warnings off */ in luaL_newstate()
1045 lua_setwarnf(L, warnf, warnstate); in luaL_newstate()