aboutsummaryrefslogtreecommitdiff
path: root/include/cnn1986_treap_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cnn1986_treap_cache.h')
-rw-r--r--include/cnn1986_treap_cache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cnn1986_treap_cache.h b/include/cnn1986_treap_cache.h
index 292e9c5..92208b2 100644
--- a/include/cnn1986_treap_cache.h
+++ b/include/cnn1986_treap_cache.h
@@ -1,12 +1,12 @@
#include <stdlib.h>
#include <stdint.h>
#include <tak.h>
+#include <xorshift64.h>
extern uint32_t cnn1986_num_cached;
-extern uint32_t cnn1986_max_num_cached;
int cnn1986_cache_init(void);
void cnn1986_cache_free(void);
-int cnn1986_cache_seek(float *out_result);
-int cnn1986_cache_insert(float in_result);
+int cnn1986_cache_seek(const uint64_t key, float *out_result);
+int cnn1986_cache_insert(const uint64_t key, const float in_result);