aboutsummaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-06-13 10:45:31 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-06-13 10:45:31 -0300
commit8fd0f6a82b63f4a2f77578fb70c9fe46047f295b (patch)
tree0ef4abdeaf45e1906c3c61c809b79a34872f68b5 /llimits.h
parenteb3de8768a6b614597f7e5f018fc31a9f52441df (diff)
downloadlua-8fd0f6a82b63f4a2f77578fb70c9fe46047f295b.tar.gz
lua-8fd0f6a82b63f4a2f77578fb70c9fe46047f295b.tar.bz2
lua-8fd0f6a82b63f4a2f77578fb70c9fe46047f295b.zip
new macro to check conditions on expression macros
Diffstat (limited to 'llimits.h')
-rw-r--r--llimits.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/llimits.h b/llimits.h
index dd0b978b..bc686a4f 100644
--- a/llimits.h
+++ b/llimits.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llimits.h,v 1.42 2002/03/26 20:46:10 roberto Exp roberto $ 2** $Id: llimits.h,v 1.43 2002/04/23 14:59: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*/
@@ -83,6 +83,11 @@ union L_Umaxalign { LUSER_ALIGNMENT_T u; void *s; long l; };
83#endif 83#endif
84 84
85 85
86#ifndef check_exp
87#define check_exp(c,e) (e)
88#endif
89
90
86#ifndef UNUSED 91#ifndef UNUSED
87#define UNUSED(x) ((void)(x)) /* to avoid warnings */ 92#define UNUSED(x) ((void)(x)) /* to avoid warnings */
88#endif 93#endif