summaryrefslogtreecommitdiffhomepage
path: root/docs/carc_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-04-25 20:03:04 +0200
committerTyge Løvset <[email protected]>2022-04-25 20:03:04 +0200
commit29b1fb689c71837616023b3adc78eda3d32026b2 (patch)
tree63f0bd3532f1819fb31d32c9c1c203eade79ea0c /docs/carc_api.md
parent72b40c6f5bbfbf11eba112a42ca5536c4c8e7d8f (diff)
downloadSTC-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/carc_api.md')
-rw-r--r--docs/carc_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/carc_api.md b/docs/carc_api.md
index 3f5675f0..301c25b1 100644
--- a/docs/carc_api.md
+++ b/docs/carc_api.md
@@ -47,7 +47,7 @@ long carc_X_use_count(carc_X ptr);
void carc_X_reset(carc_X* self);
void carc_X_reset_from(carc_X* self, i_val val); // assign new carc with value. Takes ownership of val.
-uint64_t carc_X_value_hash(const i_val* x, size_t n); // hash value
+uint64_t carc_X_value_hash(const i_val* x); // hash value
int carc_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 carc_X_value_eq(const i_val* x, const i_val* y); // cbox_X_value_cmp == 0