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 /lobject.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 'lobject.h')
-rw-r--r-- | lobject.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 2.117 2016/08/01 19:51:24 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 2.118 2017/04/11 18:41:09 roberto Exp roberto $ |
3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -317,7 +317,7 @@ typedef struct TString { | |||
317 | ** Ensures that address after this type is always fully aligned. | 317 | ** Ensures that address after this type is always fully aligned. |
318 | */ | 318 | */ |
319 | typedef union UTString { | 319 | typedef union UTString { |
320 | L_Umaxalign dummy; /* ensures maximum alignment for strings */ | 320 | LUAI_MAXALIGN; /* ensures maximum alignment for strings */ |
321 | TString tsv; | 321 | TString tsv; |
322 | } UTString; | 322 | } UTString; |
323 | 323 | ||
@@ -357,7 +357,7 @@ typedef struct Udata { | |||
357 | ** Ensures that address after this type is always fully aligned. | 357 | ** Ensures that address after this type is always fully aligned. |
358 | */ | 358 | */ |
359 | typedef union UUdata { | 359 | typedef union UUdata { |
360 | L_Umaxalign dummy; /* ensures maximum alignment for 'local' udata */ | 360 | LUAI_MAXALIGN; /* ensures maximum alignment for 'local' udata */ |
361 | Udata uv; | 361 | Udata uv; |
362 | } UUdata; | 362 | } UUdata; |
363 | 363 | ||