aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-06-04 11:22:21 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-06-04 11:22:21 -0300
commit14edd364c3abcb758e74c68a2bdd4ddaeefdae2a (patch)
tree9350100ad9b962cae6e6406b4d7462e1443bc137 /lapi.c
parent514d94274853e6f0dfd6bb2ffa2e1fc64db926dd (diff)
downloadlua-14edd364c3abcb758e74c68a2bdd4ddaeefdae2a.tar.gz
lua-14edd364c3abcb758e74c68a2bdd4ddaeefdae2a.tar.bz2
lua-14edd364c3abcb758e74c68a2bdd4ddaeefdae2a.zip
Function 'warn' is vararg
Instead of a 'tocont' flag, the function 'warn' in Lua now receives all message pieces as multiple arguments in a single call. Besides being simpler to use, this implementation ensures that Lua code cannot create unfinished warnings.
Diffstat (limited to 'lapi.c')
0 files changed, 0 insertions, 0 deletions