aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/lobject.h b/lobject.h
index 2c0a5d26..0c781ef3 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 2.8 2004/12/04 18:10:22 roberto Exp roberto $ 2** $Id: lobject.h,v 2.9 2005/01/05 18:20:51 roberto Exp $
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*/
@@ -271,7 +271,13 @@ typedef struct LocVar {
271typedef struct UpVal { 271typedef struct UpVal {
272 CommonHeader; 272 CommonHeader;
273 TValue *v; /* points to stack or to its own value */ 273 TValue *v; /* points to stack or to its own value */
274 TValue value; /* the value (when closed) */ 274 union {
275 TValue value; /* the value (when closed) */
276 struct { /* double linked list (when open) */
277 struct UpVal *prev;
278 struct UpVal *next;
279 } l;
280 } u;
275} UpVal; 281} UpVal;
276 282
277 283