diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-07-17 13:25:13 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-07-17 13:25:13 -0300 |
| commit | 79c8edb6c423b48270c1f61df6fd5a889ca5da0e (patch) | |
| tree | 1b79c096472f5f799f5576561e831b0d992c8cd0 /lgc.c | |
| parent | e5146fb01f1ccb40c2663e745feffbf642cbf862 (diff) | |
| download | lua-79c8edb6c423b48270c1f61df6fd5a889ca5da0e.tar.gz lua-79c8edb6c423b48270c1f61df6fd5a889ca5da0e.tar.bz2 lua-79c8edb6c423b48270c1f61df6fd5a889ca5da0e.zip | |
new names for light userdata operations
Diffstat (limited to 'lgc.c')
| -rw-r--r-- | lgc.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lgc.c,v 1.141 2002/07/04 17:57:42 roberto Exp $ | 2 | ** $Id: lgc.c,v 1.142 2002/07/08 18:21:33 roberto Exp roberto $ |
| 3 | ** Garbage Collector | 3 | ** Garbage Collector |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -58,7 +58,7 @@ typedef struct GCState { | |||
| 58 | 58 | ||
| 59 | #define ismarkable(o) (!((1 << ttype(o)) & \ | 59 | #define ismarkable(o) (!((1 << ttype(o)) & \ |
| 60 | ((1 << LUA_TNIL) | (1 << LUA_TNUMBER) | \ | 60 | ((1 << LUA_TNIL) | (1 << LUA_TNUMBER) | \ |
| 61 | (1 << LUA_TBOOLEAN) | (1 << LUA_TUDATAVAL)))) | 61 | (1 << LUA_TBOOLEAN) | (1 << LUA_TLIGHTUSERDATA)))) |
| 62 | 62 | ||
| 63 | static void reallymarkobject (GCState *st, TObject *o); | 63 | static void reallymarkobject (GCState *st, TObject *o); |
| 64 | 64 | ||
