aboutsummaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
Diffstat (limited to 'llimits.h')
-rw-r--r--llimits.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/llimits.h b/llimits.h
index 72f32a8d..a5d18957 100644
--- a/llimits.h
+++ b/llimits.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llimits.h,v 1.87 2011/02/01 16:52:38 roberto Exp roberto $ 2** $Id: llimits.h,v 1.88 2011/02/28 17:32:10 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*/
@@ -59,9 +59,12 @@ typedef LUAI_UACNUMBER l_uacNumber;
59/* internal assertions for in-house debugging */ 59/* internal assertions for in-house debugging */
60#if defined(lua_assert) 60#if defined(lua_assert)
61#define check_exp(c,e) (lua_assert(c), (e)) 61#define check_exp(c,e) (lua_assert(c), (e))
62/* to avoid problems with conditions too long */
63#define lua_longassert(c) { if (!(c)) lua_assert(0); }
62#else 64#else
63#define lua_assert(c) /* empty */ 65#define lua_assert(c) /* empty */
64#define check_exp(c,e) (e) 66#define check_exp(c,e) (e)
67#define lua_longassert(c) /* empty */
65#endif 68#endif
66 69
67/* 70/*