summaryrefslogtreecommitdiffhomepage
path: root/docs/cset_api.md
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2022-04-18 12:12:01 +0200
committerTyge Lovset <[email protected]>2022-04-18 12:12:01 +0200
commitb0d60c33a073782fe0bb08c835ca9db0b94145d0 (patch)
tree1683369ec66467720502b3d904bf9ab11343076e /docs/cset_api.md
parent00804d9ff488f63468a0bb528c7b807aea7c3ea3 (diff)
downloadSTC-modified-b0d60c33a073782fe0bb08c835ca9db0b94145d0.tar.gz
STC-modified-b0d60c33a073782fe0bb08c835ca9db0b94145d0.zip
Removed i_drop and i_from template specifiers to reduce redundancies and add clarity (error given if used): use i_valdrop/i_valfrom and i_keydrop/i_keyfrom instead.
Added missing at_mut() function to cdeq.
Diffstat (limited to 'docs/cset_api.md')
-rw-r--r--docs/cset_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cset_api.md b/docs/cset_api.md
index 4d97b94f..e429c5ae 100644
--- a/docs/cset_api.md
+++ b/docs/cset_api.md
@@ -10,7 +10,7 @@ A **cset** is an associative container that contains a set of unique objects of
#define i_key // hash key: REQUIRED.
#define i_hash // hash func: REQUIRED IF i_keyraw is a non-pod type.
#define i_eq // equality comparison two i_keyraw*: !i_cmp will be used if not defined.
-#define i_drop // destroy key func - defaults to empty destruct
+#define i_valdrop // destroy key func - defaults to empty destruct
#define i_keyraw // convertion "raw" type - defaults to i_key
#define i_keyfrom // convertion func i_keyraw => i_key - defaults to plain copy
#define i_keyto // convertion func i_key* => i_keyraw - defaults to plain copy