diff options
Diffstat (limited to 'llimits.h')
-rw-r--r-- | llimits.h | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llimits.h,v 1.39 2002/03/07 18:11:51 roberto Exp roberto $ | 2 | ** $Id: llimits.h,v 1.40 2002/03/14 18:01:52 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 | */ |
@@ -78,6 +78,21 @@ typedef unsigned char lu_byte; | |||
78 | union L_Umaxalign { LUSER_ALIGNMENT_T u; void *s; long l; }; | 78 | union L_Umaxalign { LUSER_ALIGNMENT_T u; void *s; long l; }; |
79 | 79 | ||
80 | 80 | ||
81 | #ifndef lua_assert | ||
82 | #define lua_assert(c) /* empty */ | ||
83 | #endif | ||
84 | |||
85 | |||
86 | #ifndef UNUSED | ||
87 | #define UNUSED(x) ((void)(x)) /* to avoid warnings */ | ||
88 | #endif | ||
89 | |||
90 | |||
91 | #ifndef cast | ||
92 | #define cast(t, exp) ((t)(exp)) | ||
93 | #endif | ||
94 | |||
95 | |||
81 | 96 | ||
82 | /* | 97 | /* |
83 | ** type for virtual-machine instructions | 98 | ** type for virtual-machine instructions |