summaryrefslogtreecommitdiffhomepage
path: root/docs/cset_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-01-02 20:59:48 +0100
committerTyge Løvset <[email protected]>2021-01-02 20:59:48 +0100
commit7afd74657220e0fb1fc05e9d0a053cfa2acc767a (patch)
tree1cffb4bfee0bee258c196d4a4df58fbd48a88667 /docs/cset_api.md
parent5ef224ec36f91ec6b44f9574e2d832a5ce92750e (diff)
downloadSTC-modified-7afd74657220e0fb1fc05e9d0a053cfa2acc767a.tar.gz
STC-modified-7afd74657220e0fb1fc05e9d0a053cfa2acc767a.zip
Major upgrade: Added 'clone' template parameters to containers. Reorganized arg positions. Renamed csptr_X_share() to csptr_X_clone()
Diffstat (limited to 'docs/cset_api.md')
-rw-r--r--docs/cset_api.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/cset_api.md b/docs/cset_api.md
index 99940b03..412ff572 100644
--- a/docs/cset_api.md
+++ b/docs/cset_api.md
@@ -11,9 +11,9 @@ A **cset** is an associative container that contains a set of unique objects of
#define using_cset(X, Key, keyEqualsRaw=c_default_equals,
keyHashRaw=c_default_hash,
keyDestroy=c_default_del,
- RawKey=Key,
- keyToRaw=c_default_to_raw,
- keyFromRaw=c_default_from_raw)
+ keyFromRaw=c_default_clone,
+ keyToRaw=c_default_to_raw,
+ RawKey=Key)
```
The macro `using_cset()` can be instantiated with 2, 4, 5, or 8 arguments in the global scope.
Default values are given above for args not specified. `X` is a type tag name and