From ead3df255f79f60257ae9626e7d52838de3caa67 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Wed, 5 Jan 2022 15:14:32 +0100 Subject: Added docs on checkauto util program. Renamed (mainly internal) c_rawstr type to crawstr. --- docs/cmap_api.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'docs/cmap_api.md') diff --git a/docs/cmap_api.md b/docs/cmap_api.md index c5311e27..13f21ef5 100644 --- a/docs/cmap_api.md +++ b/docs/cmap_api.md @@ -84,18 +84,16 @@ cmap_X_raw cmap_X_value_toraw(cmap_X_value* pval); ``` Helpers: ```c -uint64_t c_strhash(const char *str); // utility function +uint64_t c_strhash(const char *str); // utility function // hash template parameter functions: -uint64_t c_default_hash(const void *data, size_t len); // key is any integral type -uint64_t c_hash32(const void* data, size_t is4); // key is one 32-bit int -uint64_t c_hash64(const void* data, size_t is8); // key is one 64-bit int -uint64_t c_rawstr_hash(const char* const* strp, size_t unused); +uint64_t c_default_hash(const void *data, size_t len); // key is any integral type +uint64_t c_hash32(const void* data, size_t is4); // key is one 32-bit int +uint64_t c_hash64(const void* data, size_t is8); // key is one 64-bit int // equalto template parameter functions: bool c_default_eq(const i_keyraw* a, const i_keyraw* b); // *a == *b bool c_memcmp_eq(const i_keyraw* a, const i_keyraw* b); // !memcmp(a, b, sizeof *a) -bool c_rawstr_eq(const char* const* a, const char* const* b); // !strcmp(*a, *b) ``` ## Types -- cgit v1.2.3