diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-12-14 13:27:30 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-12-14 13:27:30 -0200 |
commit | 15b823ce4fde81d20486428e52a5a608d62f2465 (patch) | |
tree | 05cc1aa379caa41eac41c161aaf54a5be12df3a2 /ltests.h | |
parent | 8da245bfd2a767e1a738c2a85492d1f64d68f016 (diff) | |
download | lua-15b823ce4fde81d20486428e52a5a608d62f2465.tar.gz lua-15b823ce4fde81d20486428e52a5a608d62f2465.tar.bz2 lua-15b823ce4fde81d20486428e52a5a608d62f2465.zip |
cleaner way to add extra space in a lua state.
Diffstat (limited to 'ltests.h')
-rw-r--r-- | ltests.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.h,v 2.25 2009/04/17 22:00:01 roberto Exp roberto $ | 2 | ** $Id: ltests.h,v 2.26 2009/11/19 19:06:52 roberto Exp roberto $ |
3 | ** Internal Header for Debugging of the Lua Implementation | 3 | ** Internal Header for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -58,7 +58,6 @@ int lua_checkmemory (lua_State *L); | |||
58 | #undef luai_userstatethread | 58 | #undef luai_userstatethread |
59 | #undef lua_lock | 59 | #undef lua_lock |
60 | #undef lua_unlock | 60 | #undef lua_unlock |
61 | #undef LUAI_EXTRASPACE | ||
62 | 61 | ||
63 | struct L_EXTRA { int lock; int *plock; }; | 62 | struct L_EXTRA { int lock; int *plock; }; |
64 | #define LUAI_EXTRASPACE sizeof(struct L_EXTRA) | 63 | #define LUAI_EXTRASPACE sizeof(struct L_EXTRA) |