diff options
| author | Tyge Løvset <[email protected]> | 2022-04-25 20:03:04 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-04-25 20:03:04 +0200 |
| commit | 29b1fb689c71837616023b3adc78eda3d32026b2 (patch) | |
| tree | 63f0bd3532f1819fb31d32c9c1c203eade79ea0c /docs/cbox_api.md | |
| parent | 72b40c6f5bbfbf11eba112a42ca5536c4c8e7d8f (diff) | |
| download | STC-modified-29b1fb689c71837616023b3adc78eda3d32026b2.tar.gz STC-modified-29b1fb689c71837616023b3adc78eda3d32026b2.zip | |
Removed size argument to `i_hash` template parameter and `c_default_hash`. This was a "design error", and is not worth keeping for backward compability. Please update your code where you use i_hash template parameter (simply remove second argument).
Diffstat (limited to 'docs/cbox_api.md')
| -rw-r--r-- | docs/cbox_api.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cbox_api.md b/docs/cbox_api.md index a4e88801..2e16815b 100644 --- a/docs/cbox_api.md +++ b/docs/cbox_api.md @@ -44,7 +44,7 @@ void cbox_X_drop(cbox_X* self); // destruct the c void cbox_X_reset(cbox_X* self); void cbox_X_reset_from(cbox_X* self, i_val val); // assign new cbox with value. Takes ownership of val. -uint64_t cbox_X_value_hash(const i_val* x, size_t n); // hash value +uint64_t cbox_X_value_hash(const i_val* x); // hash value int cbox_X_value_cmp(const i_val* x, const i_val* y); // compares pointer addresses if 'i_opt c_no_cmp' // is defined. Otherwise uses 'i_cmp' or default compare. bool cbox_X_value_eq(const i_val* x, const i_val* y); // cbox_X_value_cmp == 0 |
