aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-04-24 15:06:12 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-04-24 15:06:12 -0300
commit2caecf1b3efdbee4e08888a04143421589d6143b (patch)
tree5eb37237e2440b1fb0b3750e5917d6d6d80a8be7 /luaconf.h
parentf399e6705fab15013ae468049c910577e1a9a5a1 (diff)
downloadlua-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 'luaconf.h')
-rw-r--r--luaconf.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/luaconf.h b/luaconf.h
index 33ff3604..f7ac7160 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.259 2016/12/22 13:08:50 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.260 2017/04/19 16:34:35 roberto Exp roberto $
3** Configuration file for Lua 3** Configuration file for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -761,6 +761,12 @@
761#define LUAL_BUFFERSIZE ((int)(0x80 * sizeof(void*) * sizeof(lua_Integer))) 761#define LUAL_BUFFERSIZE ((int)(0x80 * sizeof(void*) * sizeof(lua_Integer)))
762#endif 762#endif
763 763
764/*
765@@ LUAI_MAXALIGN defines fields that, when used in a union, ensure
766** "maximum" alignment for the other items in that union.
767*/
768#define LUAI_MAXALIGN lua_Number n; double u; void *s; lua_Integer i; long l
769
764/* }================================================================== */ 770/* }================================================================== */
765 771
766 772