aboutsummaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-07-15 18:26:50 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-07-15 18:26:50 -0300
commit5bbb4a06a692ec2c9773274f0f99c7573838e86b (patch)
tree4bfac6a4dde1a3f0764b7bdbdcb697a0581b9452 /llimits.h
parentd4fb848be77f4b0209acaf37a5b5e1cee741ddce (diff)
downloadlua-5bbb4a06a692ec2c9773274f0f99c7573838e86b.tar.gz
lua-5bbb4a06a692ec2c9773274f0f99c7573838e86b.tar.bz2
lua-5bbb4a06a692ec2c9773274f0f99c7573838e86b.zip
removed unused parameter Ä'L' in macro 'api_check' and company
Diffstat (limited to 'llimits.h')
-rw-r--r--llimits.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/llimits.h b/llimits.h
index a128ae4b..f9fb8d00 100644
--- a/llimits.h
+++ b/llimits.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llimits.h,v 1.116 2014/04/15 16:32:49 roberto Exp roberto $ 2** $Id: llimits.h,v 1.117 2014/06/26 16:17:35 roberto Exp roberto $
3** Limits, basic types, and some other `installation-dependent' definitions 3** Limits, basic types, and some other `installation-dependent' definitions
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -79,18 +79,15 @@ typedef LUAI_UACINT l_uacInt;
79/* 79/*
80** assertion for checking API calls 80** assertion for checking API calls
81*/ 81*/
82#if !defined(luai_apicheck)
83
84#if defined(LUA_USE_APICHECK) 82#if defined(LUA_USE_APICHECK)
85#include <assert.h> 83#include <assert.h>
86#define luai_apicheck(L,e) assert(e) 84#define luai_apicheck(e) assert(e)
87#else 85#else
88#define luai_apicheck(L,e) lua_assert(e) 86#define luai_apicheck(e) lua_assert(e)
89#endif 87#endif
90 88
91#endif
92 89
93#define api_check(l,e,msg) luai_apicheck(l,(e) && msg) 90#define api_check(e,msg) luai_apicheck((e) && msg)
94 91
95 92
96#if !defined(UNUSED) 93#if !defined(UNUSED)