aboutsummaryrefslogtreecommitdiffstats
path: root/clox/src/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'clox/src/object.h')
-rw-r--r--clox/src/object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clox/src/object.h b/clox/src/object.h
index 54faf5b..f650b30 100644
--- a/clox/src/object.h
+++ b/clox/src/object.h
@@ -33,6 +33,7 @@ struct Obj {
typedef struct {
Obj obj;
int arity;
+ int upvalueCount;
Chunk chunk;
ObjString *name;
} ObjFunction;