summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2023-04-10 08:36:26 +0200
committerTyge Lovset <[email protected]>2023-04-10 08:36:26 +0200
commit54fe61ed1cbe8f68f7fb5bfafca4c5d135afd200 (patch)
treebc614764fd78daaa095f6840ef15c483ec02c07e /docs
parent680faa169dfc7e7d4fc7532922bf7103f8cdc279 (diff)
downloadSTC-modified-54fe61ed1cbe8f68f7fb5bfafca4c5d135afd200.tar.gz
STC-modified-54fe61ed1cbe8f68f7fb5bfafca4c5d135afd200.zip
Improved naming consistency: fixed rawkey - keyraw confusion (mostly internal).
Diffstat (limited to 'docs')
-rw-r--r--docs/cmap_api.md6
-rw-r--r--docs/cset_api.md6
-rw-r--r--docs/csmap_api.md8
-rw-r--r--docs/csset_api.md6
4 files changed, 13 insertions, 13 deletions
diff --git a/docs/cmap_api.md b/docs/cmap_api.md
index 8749bd09..d2a94ee8 100644
--- a/docs/cmap_api.md
+++ b/docs/cmap_api.md
@@ -102,12 +102,12 @@ bool c_memcmp_eq(const i_keyraw* a, const i_keyraw* b); // !
| Type name | Type definition | Used to represent... |
|:-------------------|:------------------------------------------------|:------------------------------|
| `cmap_X` | `struct { ... }` | The cmap type |
-| `cmap_X_rawkey` | `i_keyraw` | The raw key type |
-| `cmap_X_rawmapped` | `i_valraw` | The raw mapped type |
-| `cmap_X_raw` | `struct { i_keyraw first; i_valraw second; }` | i_keyraw + i_valraw type |
| `cmap_X_key` | `i_key` | The key type |
| `cmap_X_mapped` | `i_val` | The mapped type |
| `cmap_X_value` | `struct { const i_key first; i_val second; }` | The value: key is immutable |
+| `cmap_X_keyraw` | `i_keyraw` | The raw key type |
+| `cmap_X_rmapped` | `i_valraw` | The raw mapped type |
+| `cmap_X_raw` | `struct { i_keyraw first; i_valraw second; }` | i_keyraw + i_valraw type |
| `cmap_X_result` | `struct { cmap_X_value *ref; bool inserted; }` | Result of insert/emplace |
| `cmap_X_iter` | `struct { cmap_X_value *ref; ... }` | Iterator type |
diff --git a/docs/cset_api.md b/docs/cset_api.md
index db9fb802..026d7462 100644
--- a/docs/cset_api.md
+++ b/docs/cset_api.md
@@ -68,10 +68,10 @@ cset_X_value cset_X_value_clone(cset_X_value val);
| Type name | Type definition | Used to represent... |
|:-------------------|:-------------------------------------------------|:----------------------------|
| `cset_X` | `struct { ... }` | The cset type |
-| `cset_X_rawkey` | `i_keyraw` | The raw key type |
-| `cset_X_raw` | `i_keyraw` | The raw value type |
| `cset_X_key` | `i_key` | The key type |
-| `cset_X_value` | `i_key` | The value |
+| `cset_X_value` | `i_key` | The key type (alias) |
+| `cset_X_keyraw` | `i_keyraw` | The raw key type |
+| `cset_X_raw` | `i_keyraw` | The raw key type (alias) |
| `cset_X_result` | `struct { cset_X_value* ref; bool inserted; }` | Result of insert/emplace |
| `cset_X_iter` | `struct { cset_X_value *ref; ... }` | Iterator type |
diff --git a/docs/csmap_api.md b/docs/csmap_api.md
index 4a5e911f..93faa4f9 100644
--- a/docs/csmap_api.md
+++ b/docs/csmap_api.md
@@ -91,12 +91,12 @@ csmap_X_raw csmap_X_value_toraw(csmap_X_value* pval);
| Type name | Type definition | Used to represent... |
|:--------------------|:--------------------------------------------------|:-----------------------------|
| `csmap_X` | `struct { ... }` | The csmap type |
-| `csmap_X_rawkey` | `i_keyraw` | The raw key type |
-| `csmap_X_rawmapped` | `i_valraw` | The raw mapped type |
-| `csmap_X_raw` | `struct { i_keyraw first; i_valraw second; }` | i_keyraw+i_valraw type |
| `csmap_X_key` | `i_key` | The key type |
| `csmap_X_mapped` | `i_val` | The mapped type |
-| `csmap_X_value` | `struct { const i_key first; i_val second; }` | The value: key is immutable |
+| `csmap_X_value` | `struct { i_key first; i_val second; }` | The value: key is immutable |
+| `csmap_X_keyraw` | `i_keyraw` | The raw key type |
+| `csmap_X_rmapped` | `i_valraw` | The raw mapped type |
+| `csmap_X_raw` | `struct { i_keyraw first; i_valraw second; }` | i_keyraw+i_valraw type |
| `csmap_X_result` | `struct { csmap_X_value *ref; bool inserted; }` | Result of insert/put/emplace |
| `csmap_X_iter` | `struct { csmap_X_value *ref; ... }` | Iterator type |
diff --git a/docs/csset_api.md b/docs/csset_api.md
index 1869327c..e83ab857 100644
--- a/docs/csset_api.md
+++ b/docs/csset_api.md
@@ -68,10 +68,10 @@ csset_X_value csset_X_value_clone(csset_X_value val);
| Type name | Type definition | Used to represent... |
|:-------------------|:--------------------------------------------------|:----------------------------|
| `csset_X` | `struct { ... }` | The csset type |
-| `csset_X_rawkey` | `i_keyraw` | The raw key type |
-| `csset_X_raw` | `i_keyraw` | The raw key type |
| `csset_X_key` | `i_key` | The key type |
-| `csset_X_value` | `i_key ` | The value: key is immutable |
+| `csset_X_value` | `i_key` | The key type (alias) |
+| `csset_X_keyraw` | `i_keyraw` | The raw key type |
+| `csset_X_raw` | `i_keyraw` | The raw key type (alias) |
| `csset_X_result` | `struct { csset_X_value* ref; bool inserted; }` | Result of insert/emplace |
| `csset_X_iter` | `struct { csset_X_value *ref; ... }` | Iterator type |