summaryrefslogtreecommitdiffhomepage
path: root/docs/csset_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-11-03 13:27:00 +0100
committerTyge Løvset <[email protected]>2021-11-03 13:27:00 +0100
commit85a7ff53750a55fee9a45083abb2f6daa5b19164 (patch)
treec440dac5232f3d02ffe38b4dfbcc0a47b7ac1709 /docs/csset_api.md
parent1790465d3dc002beafb91cc52d8aa6319dc67b35 (diff)
downloadSTC-modified-85a7ff53750a55fee9a45083abb2f6daa5b19164.tar.gz
STC-modified-85a7ff53750a55fee9a45083abb2f6daa5b19164.zip
Docs text alignments
Diffstat (limited to 'docs/csset_api.md')
-rw-r--r--docs/csset_api.md34
1 files changed, 17 insertions, 17 deletions
diff --git a/docs/csset_api.md b/docs/csset_api.md
index 9b6a101b..9034f78f 100644
--- a/docs/csset_api.md
+++ b/docs/csset_api.md
@@ -22,16 +22,16 @@ See the c++ class [std::set](https://en.cppreference.com/w/cpp/container/set) fo
## Methods
```c
-csset_X csset_X_init(void);
-csset_X csset_X_clone(csset_x set);
+csset_X csset_X_init(void);
+csset_X csset_X_clone(csset_x set);
-void csset_X_clear(csset_X* self);
-void csset_X_copy(csset_X* self, csset_X other);
-void csset_X_swap(csset_X* a, csset_X* b);
-void csset_X_del(csset_X* self); // destructor
+void csset_X_clear(csset_X* self);
+void csset_X_copy(csset_X* self, csset_X other);
+void csset_X_swap(csset_X* a, csset_X* b);
+void csset_X_del(csset_X* self); // destructor
-size_t csset_X_size(csset_X set);
-bool csset_X_empty(csset_X set);
+size_t csset_X_size(csset_X set);
+bool csset_X_empty(csset_X set);
const csset_X_value* csset_X_get(const csset_X* self, i_keyraw rkey); // const get
csset_X_value* csset_X_getmut(csset_X* self, i_keyraw rkey); // return NULL if not found
@@ -40,18 +40,18 @@ csset_X_iter csset_X_find(const csset_X* self, i_keyraw rkey);
csset_X_value* csset_X_find_it(const csset_X* self, i_keyraw rkey, csset_X_iter* out); // return NULL if not found
csset_X_iter csset_X_lower_bound(const csset_X* self, i_keyraw rkey); // find closest entry >= rkey
-csset_X_result csset_X_insert(csset_X* self, i_key key);
-csset_X_result csset_X_emplace(csset_X* self, i_keyraw rkey);
+csset_X_result csset_X_insert(csset_X* self, i_key key);
+csset_X_result csset_X_emplace(csset_X* self, i_keyraw rkey);
-size_t csset_X_erase(csset_X* self, i_keyraw rkey);
-csset_X_iter csset_X_erase_at(csset_X* self, csset_X_iter it); // return iter after it
-csset_X_iter csset_X_erase_range(csset_X* self, csset_X_iter it1, csset_X_iter it2); // return updated it2
+size_t csset_X_erase(csset_X* self, i_keyraw rkey);
+csset_X_iter csset_X_erase_at(csset_X* self, csset_X_iter it); // return iter after it
+csset_X_iter csset_X_erase_range(csset_X* self, csset_X_iter it1, csset_X_iter it2); // return updated it2
-csset_X_iter csset_X_begin(const csset_X* self);
-csset_X_iter csset_X_end(const csset_X* self);
-void csset_X_next(csset_X_iter* it);
+csset_X_iter csset_X_begin(const csset_X* self);
+csset_X_iter csset_X_end(const csset_X* self);
+void csset_X_next(csset_X_iter* it);
-csset_X_value csset_X_value_clone(csset_X_value val);
+csset_X_value csset_X_value_clone(csset_X_value val);
```
## Types