diff options
Diffstat (limited to 'llimits.h')
-rw-r--r-- | llimits.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llimits.h,v 1.109 2013/08/21 19:02:30 roberto Exp roberto $ | 2 | ** $Id: llimits.h,v 1.110 2014/02/26 12:38:43 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 | */ |
@@ -106,6 +106,7 @@ typedef LUAI_UACNUMBER l_uacNumber; | |||
106 | 106 | ||
107 | #define cast(t, exp) ((t)(exp)) | 107 | #define cast(t, exp) ((t)(exp)) |
108 | 108 | ||
109 | #define cast_void(i) cast(void, (i)) | ||
109 | #define cast_byte(i) cast(lu_byte, (i)) | 110 | #define cast_byte(i) cast(lu_byte, (i)) |
110 | #define cast_num(i) cast(lua_Number, (i)) | 111 | #define cast_num(i) cast(lua_Number, (i)) |
111 | #define cast_int(i) cast(int, (i)) | 112 | #define cast_int(i) cast(int, (i)) |