summaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-07 09:18:11 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-07 09:18:11 -0300
commit623e388bb4c75eb07af3b7f83c736841d9fb76f0 (patch)
treef0c64d3c1b0f385b1b31536dd46ccd0c55b57a0b /lobject.h
parent677d90165ffef728231340c6328e9661824dbc34 (diff)
downloadlua-623e388bb4c75eb07af3b7f83c736841d9fb76f0.tar.gz
lua-623e388bb4c75eb07af3b7f83c736841d9fb76f0.tar.bz2
lua-623e388bb4c75eb07af3b7f83c736841d9fb76f0.zip
double-linked list of all upvalues elliminated and changed to a
traversal of all non-marked threads
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/lobject.h b/lobject.h
index 769e96db..ba425fed 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 2.77 2013/05/06 17:17:09 roberto Exp roberto $ 2** $Id: lobject.h,v 2.78 2013/05/14 15:59:04 roberto Exp roberto $
3** Type definitions for Lua objects 3** Type definitions for Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -395,13 +395,7 @@ typedef struct Proto {
395typedef struct UpVal { 395typedef struct UpVal {
396 CommonHeader; 396 CommonHeader;
397 TValue *v; /* points to stack or to its own value */ 397 TValue *v; /* points to stack or to its own value */
398 union { 398 TValue value; /* the value (when closed) */
399 TValue value; /* the value (when closed) */
400 struct { /* double linked list (when open) */
401 struct UpVal *prev;
402 struct UpVal *next;
403 } l;
404 } u;
405} UpVal; 399} UpVal;
406 400
407 401