aboutsummaryrefslogtreecommitdiff
path: root/lstring.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-16 15:55:49 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-16 15:55:49 -0300
commit439d74e29f3234a034777f88b260523afe8c0446 (patch)
treea3ee160dccfd3cf0f065edbba07290c4ba9af93d /lstring.h
parent3679d33b02782ff7d7d0fa163b815902b189c89e (diff)
downloadlua-439d74e29f3234a034777f88b260523afe8c0446.tar.gz
lua-439d74e29f3234a034777f88b260523afe8c0446.tar.bz2
lua-439d74e29f3234a034777f88b260523afe8c0446.zip
added 'local' bit (true => object is only refered by local variables)
Diffstat (limited to 'lstring.h')
-rw-r--r--lstring.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstring.h b/lstring.h
index b52a9356..644b5aae 100644
--- a/lstring.h
+++ b/lstring.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstring.h,v 1.48 2012/01/25 21:05:40 roberto Exp roberto $ 2** $Id: lstring.h,v 1.49 2012/02/01 21:57:15 roberto Exp roberto $
3** String table (keep all strings handled by Lua) 3** String table (keep all strings handled by Lua)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -19,7 +19,7 @@
19#define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \ 19#define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \
20 (sizeof(s)/sizeof(char))-1)) 20 (sizeof(s)/sizeof(char))-1))
21 21
22#define luaS_fix(s) l_setbit((s)->tsv.marked, FIXEDBIT) 22#define luaS_fix(s) setbits((s)->tsv.marked, bit2mask(FIXEDBIT, LOCALBIT))
23 23
24 24
25/* 25/*