diff options
| author | Tyge Løvset <[email protected]> | 2022-01-05 15:14:32 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-01-05 15:14:32 +0100 |
| commit | ead3df255f79f60257ae9626e7d52838de3caa67 (patch) | |
| tree | 96e67304ff45b541ddc8b5119b6b0c4d7eb6a84b /docs/cmap_api.md | |
| parent | 7083c748e2c00d0236146d21f9b20cfe69f953e6 (diff) | |
| download | STC-modified-ead3df255f79f60257ae9626e7d52838de3caa67.tar.gz STC-modified-ead3df255f79f60257ae9626e7d52838de3caa67.zip | |
Added docs on checkauto util program. Renamed (mainly internal) c_rawstr type to crawstr.
Diffstat (limited to 'docs/cmap_api.md')
| -rw-r--r-- | docs/cmap_api.md | 10 |
1 files changed, 4 insertions, 6 deletions
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 |
