type 'L_Umaxalign' replaced by macro 'LUAI_MAXALIGN', which is also added

to the auxlib buffer
This commit is contained in:
Roberto Ierusalimschy
2017-04-24 15:06:12 -03:00
parent f399e6705f
commit 2caecf1b3e
6 changed files with 21 additions and 27 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: luaconf.h,v 1.259 2016/12/22 13:08:50 roberto Exp roberto $
** $Id: luaconf.h,v 1.260 2017/04/19 16:34:35 roberto Exp roberto $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@@ -761,6 +761,12 @@
#define LUAL_BUFFERSIZE ((int)(0x80 * sizeof(void*) * sizeof(lua_Integer)))
#endif
/*
@@ LUAI_MAXALIGN defines fields that, when used in a union, ensure
** "maximum" alignment for the other items in that union.
*/
#define LUAI_MAXALIGN lua_Number n; double u; void *s; lua_Integer i; long l
/* }================================================================== */