summaryrefslogtreecommitdiffhomepage
path: root/examples/benchmark.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-07-22 13:01:47 +0200
committerTyge Løvset <[email protected]>2020-07-22 13:01:47 +0200
commitc47f6949cbd6d851eddb83cc1b9aa4e2cf3dbe61 (patch)
treeb9738ca838fb0ad40bda6a117263f3e78fd024fc /examples/benchmark.c
parente0ebdfb05aa543eac980920949bc993e1bec931b (diff)
downloadSTC-modified-c47f6949cbd6d851eddb83cc1b9aa4e2cf3dbe61.tar.gz
STC-modified-c47f6949cbd6d851eddb83cc1b9aa4e2cf3dbe61.zip
Renamed CArray to CArr. Renamed cmap_xx_get() to cmap_xx_find(). Changed _front() and _back() signatures.
Diffstat (limited to 'examples/benchmark.c')
-rw-r--r--examples/benchmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/benchmark.c b/examples/benchmark.c
index 87242ec8..62a6cb52 100644
--- a/examples/benchmark.c
+++ b/examples/benchmark.c
@@ -35,7 +35,7 @@ sfc64_random_t rng;
/* ; cmap_##tag##_setLoadFactors(&map, maxLoadFactor, 0.0)*/
#define CMAP_PUT(tag, key, val) cmap_##tag##_put(&map, key, val)->value
#define CMAP_ERASE(tag, key) cmap_##tag##_erase(&map, key)
-#define CMAP_FIND(tag, key) (cmap_##tag##_get(map, key) != NULL)
+#define CMAP_FIND(tag, key) (cmap_##tag##_find(map, key) != NULL)
#define CMAP_SIZE(tag) cmap_size(map)
#define CMAP_BUCKETS(tag) cmap_bucketCount(map)
#define CMAP_CLEAR(tag) cmap_##tag##_destroy(&map)