diff options
Diffstat (limited to 'docs/csset_api.md')
| -rw-r--r-- | docs/csset_api.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/csset_api.md b/docs/csset_api.md index c696eab5..80ee1844 100644 --- a/docs/csset_api.md +++ b/docs/csset_api.md @@ -29,8 +29,8 @@ See the c++ class [std::set](https://en.cppreference.com/w/cpp/container/set) fo ```c csset_X csset_X_init(void); -csset_X csset_X_with_capacity(i_ssize cap); -bool csset_X_reserve(csset_X* self, i_ssize cap); +csset_X csset_X_with_capacity(intptr_t cap); +bool csset_X_reserve(csset_X* self, intptr_t cap); void csset_X_shrink_to_fit(csset_X* self); csset_X csset_X_clone(csset_x set); @@ -38,8 +38,9 @@ void csset_X_clear(csset_X* self); void csset_X_copy(csset_X* self, const csset_X* other); void csset_X_drop(csset_X* self); // destructor -i_ssize csset_X_size(const csset_X* self); bool csset_X_empty(const csset_X* self); +intptr_t csset_X_size(const csset_X* self); +intptr_t csset_X_capacity(const csset_X* self); const csset_X_value* csset_X_get(const csset_X* self, i_keyraw rkey); // const get csset_X_value* csset_X_get_mut(csset_X* self, i_keyraw rkey); // return NULL if not found |
