diff options
Diffstat (limited to 'clox/src/object.h')
-rw-r--r-- | clox/src/object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clox/src/object.h b/clox/src/object.h index 965b905..717031b 100644 --- a/clox/src/object.h +++ b/clox/src/object.h @@ -24,6 +24,7 @@ struct ObjString { Obj obj; int length; char *chars; + uint32_t hash; }; ObjString *takeString(char *chars, int length); |