aboutsummaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-12-13 14:02:42 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-12-13 14:02:42 -0300
commit37474873203f247552021ab5856ab69d777166a2 (patch)
tree0c8a2d677fcc7b515439161f188269d118a7433c /llimits.h
parent1e0ad018cef2a8e771787f126ce2150028749411 (diff)
downloadlua-37474873203f247552021ab5856ab69d777166a2.tar.gz
lua-37474873203f247552021ab5856ab69d777166a2.tar.bz2
lua-37474873203f247552021ab5856ab69d777166a2.zip
Small correction in assertion
Diffstat (limited to 'llimits.h')
-rw-r--r--llimits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llimits.h b/llimits.h
index 2b52c83b..b86d3452 100644
--- a/llimits.h
+++ b/llimits.h
@@ -99,7 +99,7 @@ typedef LUAI_UACINT l_uacInt;
99** assertion for checking API calls 99** assertion for checking API calls
100*/ 100*/
101#if !defined(luai_apicheck) 101#if !defined(luai_apicheck)
102#define luai_apicheck(l,e) lua_assert(e) 102#define luai_apicheck(l,e) ((void)l, lua_assert(e))
103#endif 103#endif
104 104
105#define api_check(l,e,msg) luai_apicheck(l,(e) && msg) 105#define api_check(l,e,msg) luai_apicheck(l,(e) && msg)