diff options
Diffstat (limited to 'lauxlib.h')
| -rw-r--r-- | lauxlib.h | 7 |
1 files changed, 5 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lauxlib.h,v 1.130 2016/12/04 20:17:24 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.131 2016/12/06 14:54:31 roberto Exp roberto $ |
| 3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -150,7 +150,10 @@ typedef struct luaL_Buffer { | |||
| 150 | size_t size; /* buffer size */ | 150 | size_t size; /* buffer size */ |
| 151 | size_t n; /* number of characters in buffer */ | 151 | size_t n; /* number of characters in buffer */ |
| 152 | lua_State *L; | 152 | lua_State *L; |
| 153 | char initb[LUAL_BUFFERSIZE]; /* initial buffer */ | 153 | union { |
| 154 | LUAI_MAXALIGN; /* ensure maximum alignment for buffer */ | ||
| 155 | char b[LUAL_BUFFERSIZE]; /* initial buffer */ | ||
| 156 | } init; | ||
| 154 | } luaL_Buffer; | 157 | } luaL_Buffer; |
| 155 | 158 | ||
| 156 | 159 | ||
