aboutsummaryrefslogtreecommitdiff
path: root/src/exact_value.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/exact_value.cpp')
-rw-r--r--src/exact_value.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/exact_value.cpp b/src/exact_value.cpp
index f428c9834..44e291af0 100644
--- a/src/exact_value.cpp
+++ b/src/exact_value.cpp
@@ -26,6 +26,10 @@ struct ExactValue {
};
};
+HashKey hash_exact_value(ExactValue v) {
+ return hashing_proc(&v, gb_size_of(ExactValue));
+}
+
ExactValue make_exact_value_bool(b32 b) {
ExactValue result = {ExactValue_Bool};
result.value_bool = (b != 0);