From 439d74e29f3234a034777f88b260523afe8c0446 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 16 Aug 2013 15:55:49 -0300 Subject: added 'local' bit (true => object is only refered by local variables) --- lstring.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstring.h') diff --git a/lstring.h b/lstring.h index b52a9356..644b5aae 100644 --- a/lstring.h +++ b/lstring.h @@ -1,5 +1,5 @@ /* -** $Id: lstring.h,v 1.48 2012/01/25 21:05:40 roberto Exp roberto $ +** $Id: lstring.h,v 1.49 2012/02/01 21:57:15 roberto Exp roberto $ ** String table (keep all strings handled by Lua) ** See Copyright Notice in lua.h */ @@ -19,7 +19,7 @@ #define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \ (sizeof(s)/sizeof(char))-1)) -#define luaS_fix(s) l_setbit((s)->tsv.marked, FIXEDBIT) +#define luaS_fix(s) setbits((s)->tsv.marked, bit2mask(FIXEDBIT, LOCALBIT)) /* -- cgit v1.2.3-55-g6feb