aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lobject.h b/lobject.h
index fcfb7d3b..132108d3 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.2 1997/09/26 15:02:26 roberto Exp roberto $ 2** $Id: lobject.h,v 1.3 1997/09/26 16:46:20 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*/
@@ -110,7 +110,6 @@ typedef struct TProtoFunc {
110 struct TObject *consts; 110 struct TObject *consts;
111 int nconsts; 111 int nconsts;
112 struct LocVar *locvars; /* ends with line = -1 */ 112 struct LocVar *locvars; /* ends with line = -1 */
113 int nupvalues;
114} TProtoFunc; 113} TProtoFunc;
115 114
116typedef struct LocVar { 115typedef struct LocVar {
@@ -138,6 +137,7 @@ typedef struct LocVar {
138*/ 137*/
139typedef struct Closure { 138typedef struct Closure {
140 GCnode head; 139 GCnode head;
140 int nelems; /* not included the first one (always the prototype) */
141 TObject consts[1]; /* at least one for prototype */ 141 TObject consts[1]; /* at least one for prototype */
142} Closure; 142} Closure;
143 143