aboutsummaryrefslogtreecommitdiffstats
path: root/clox/src/object.h
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-05-31 23:02:18 -0700
committerGravatar Tom Willemse2022-05-31 23:02:18 -0700
commite74cbddb0463e93f5d9742accc20bbed027d0b9b (patch)
tree84d6f2bde00a3f529054f5bb9c0123815b427adc /clox/src/object.h
parent1ae50814d3c7fc75fe02f7ce53497cb17f8114ff (diff)
downloadcrafting-interpreters-e74cbddb0463e93f5d9742accc20bbed027d0b9b.tar.gz
crafting-interpreters-e74cbddb0463e93f5d9742accc20bbed027d0b9b.zip
Chapter 25.2
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;