diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-04-24 15:06:12 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-04-24 15:06:12 -0300 |
commit | 2caecf1b3efdbee4e08888a04143421589d6143b (patch) | |
tree | 5eb37237e2440b1fb0b3750e5917d6d6d80a8be7 /llimits.h | |
parent | f399e6705fab15013ae468049c910577e1a9a5a1 (diff) | |
download | lua-2caecf1b3efdbee4e08888a04143421589d6143b.tar.gz lua-2caecf1b3efdbee4e08888a04143421589d6143b.tar.bz2 lua-2caecf1b3efdbee4e08888a04143421589d6143b.zip |
type 'L_Umaxalign' replaced by macro 'LUAI_MAXALIGN', which is also added
to the auxlib buffer
Diffstat (limited to 'llimits.h')
-rw-r--r-- | llimits.h | 17 |
1 files changed, 1 insertions, 16 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llimits.h,v 1.140 2015/10/21 18:40:47 roberto Exp roberto $ | 2 | ** $Id: llimits.h,v 1.141 2015/11/19 19:16:22 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 | */ |
@@ -60,21 +60,6 @@ typedef unsigned char lu_byte; | |||
60 | 60 | ||
61 | 61 | ||
62 | 62 | ||
63 | /* type to ensure maximum alignment */ | ||
64 | #if defined(LUAI_USER_ALIGNMENT_T) | ||
65 | typedef LUAI_USER_ALIGNMENT_T L_Umaxalign; | ||
66 | #else | ||
67 | typedef union { | ||
68 | lua_Number n; | ||
69 | double u; | ||
70 | void *s; | ||
71 | lua_Integer i; | ||
72 | long l; | ||
73 | } L_Umaxalign; | ||
74 | #endif | ||
75 | |||
76 | |||
77 | |||
78 | /* types of 'usual argument conversions' for lua_Number and lua_Integer */ | 63 | /* types of 'usual argument conversions' for lua_Number and lua_Integer */ |
79 | typedef LUAI_UACNUMBER l_uacNumber; | 64 | typedef LUAI_UACNUMBER l_uacNumber; |
80 | typedef LUAI_UACINT l_uacInt; | 65 | typedef LUAI_UACINT l_uacInt; |