Lines Matching defs:cast
136 #define cast(t, exp) ((t)(exp))
138 #define cast_void(i) cast(void, (i))
139 #define cast_voidp(i) cast(void *, (i))
140 #define cast_num(i) cast(lua_Number, (i))
141 #define cast_int(i) cast(int, (i))
142 #define cast_uint(i) cast(unsigned int, (i))
143 #define cast_byte(i) cast(lu_byte, (i))
144 #define cast_uchar(i) cast(unsigned char, (i))
145 #define cast_char(i) cast(char, (i))
146 #define cast_charp(i) cast(char *, (i))
147 #define cast_sizet(i) cast(size_t, (i))
150 /* cast a signed lua_Integer to lua_Unsigned */
156 ** cast a lua_Unsigned to a signed lua_Integer; this cast is