aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-10-26 14:06:29 +0100
committergingerBill <bill@gingerbill.org>2019-10-26 14:06:29 +0100
commit7fae890ef9eb72f3131914f9af2469f9bfb1e59e (patch)
treecc960719e7e1e4463e25c0dc2359dea221536c6a /src/common.cpp
parent94879ed14997c4d2745ddb669d08b34437ceff75 (diff)
Allow ranges for array-like compound literals
Diffstat (limited to 'src/common.cpp')
-rw-r--r--src/common.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common.cpp b/src/common.cpp
index db6505a36..b034ad720 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -143,6 +143,9 @@ GB_ALLOCATOR_PROC(heap_allocator_proc) {
#define for_array(index_, array_) for (isize index_ = 0; index_ < (array_).count; index_++)
+#include "range_cache.cpp"
+
+
u64 fnv64a(void const *data, isize len) {
u8 const *bytes = cast(u8 const *)data;