aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-03-14 15:30:54 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-03-14 15:30:54 -0300
commitb56d4e570a60a8e84df8288c3122eb5bb5c20af6 (patch)
treed5597a7865712fc407adbb41fe0749e728617ca7 /lstate.h
parent9eca305e75010e30342486a4139846faf1b3eccb (diff)
downloadlua-b56d4e570a60a8e84df8288c3122eb5bb5c20af6.tar.gz
lua-b56d4e570a60a8e84df8288c3122eb5bb5c20af6.tar.bz2
lua-b56d4e570a60a8e84df8288c3122eb5bb5c20af6.zip
Changes in the warning system
- The warning functions get an extra parameter that tells whether message is to be continued (instead of using end-of-lines as a signal). - The user data for the warning function is a regular value, instead of a writable slot inside the Lua state.
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lstate.h b/lstate.h
index 11bf18fd..e35f8962 100644
--- a/lstate.h
+++ b/lstate.h
@@ -317,7 +317,7 @@ LUAI_FUNC CallInfo *luaE_extendCI (lua_State *L);
317LUAI_FUNC void luaE_freeCI (lua_State *L); 317LUAI_FUNC void luaE_freeCI (lua_State *L);
318LUAI_FUNC void luaE_shrinkCI (lua_State *L); 318LUAI_FUNC void luaE_shrinkCI (lua_State *L);
319LUAI_FUNC void luaE_enterCcall (lua_State *L); 319LUAI_FUNC void luaE_enterCcall (lua_State *L);
320LUAI_FUNC void luaE_warning (lua_State *L, const char *msg); 320LUAI_FUNC void luaE_warning (lua_State *L, const char *msg, int tocont);
321 321
322 322
323#define luaE_exitCcall(L) ((L)->nCcalls--) 323#define luaE_exitCcall(L) ((L)->nCcalls--)