From 54c5579187a8b052d81f3eaf0436706481438fee Mon Sep 17 00:00:00 2001 From: Tyge Løvset <60263450+tylov@users.noreply.github.com> Date: Wed, 17 Feb 2021 07:46:06 +0100 Subject: Update cmap_api.md --- docs/cmap_api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/cmap_api.md') diff --git a/docs/cmap_api.md b/docs/cmap_api.md index 471d8f58..b789944c 100644 --- a/docs/cmap_api.md +++ b/docs/cmap_api.md @@ -202,8 +202,8 @@ Demonstrate cmap with plain-old-data key type Vec3i and int as mapped type: cmap typedef struct { int x, y, z; } Vec3i; -using_cmap(v3, Vec3i, int, c_mem_equals, // key: compare Vec3i bit-by-bit - c_default_hash32); // key: hash Vec3i in 32-bits word-by-word. +using_cmap(v3, Vec3i, int, c_mem_equals, // compare Vec3i bitwise + c_default_hash); // hash Vec3i bitwise. int main() { -- cgit v1.2.3