aboutsummaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-11-14 14:15:53 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-11-14 14:15:53 -0200
commit41fd639cab8e2835ad2860442c19eb78fbc777be (patch)
tree4ae644a4612561537169d070a90fdfd826024b26 /lstate.c
parenta845a46cc883a76cb5175c0755805ba44a37d909 (diff)
downloadlua-41fd639cab8e2835ad2860442c19eb78fbc777be.tar.gz
lua-41fd639cab8e2835ad2860442c19eb78fbc777be.tar.bz2
lua-41fd639cab8e2835ad2860442c19eb78fbc777be.zip
documentation for write barriers
Diffstat (limited to 'lstate.c')
-rw-r--r--lstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstate.c b/lstate.c
index 0213a0b4..2d19405d 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 1.109 2002/10/25 21:30:00 roberto Exp roberto $ 2** $Id: lstate.c,v 1.110 2002/11/13 11:31:39 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -129,7 +129,7 @@ lua_State *luaE_newthread (lua_State *L) {
129 preinit_state(L1); 129 preinit_state(L1);
130 L1->l_G = L->l_G; 130 L1->l_G = L->l_G;
131 stack_init(L1, L); /* init stack */ 131 stack_init(L1, L); /* init stack */
132 setobj(gt(L1), gt(L)); /* share table of globals */ 132 setobj2n(gt(L1), gt(L)); /* share table of globals */
133 return L1; 133 return L1;
134} 134}
135 135