diff options
| author | Tyge Løvset <[email protected]> | 2021-02-17 07:46:06 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-17 07:46:06 +0100 |
| commit | 54c5579187a8b052d81f3eaf0436706481438fee (patch) | |
| tree | e4cded9b48e94e26906037bf45b3717674b81814 /docs/cmap_api.md | |
| parent | a62025b2cff5c448bd13a45f08409a3cc1b9dbf5 (diff) | |
| download | STC-modified-54c5579187a8b052d81f3eaf0436706481438fee.tar.gz STC-modified-54c5579187a8b052d81f3eaf0436706481438fee.zip | |
Update cmap_api.md
Diffstat (limited to 'docs/cmap_api.md')
| -rw-r--r-- | docs/cmap_api.md | 4 |
1 files changed, 2 insertions, 2 deletions
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() { |
