diff options
| author | Tyge Løvset <[email protected]> | 2022-04-27 14:20:54 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-04-27 15:09:45 +0200 |
| commit | 37e950b8a93172f5f07fedaca54c9b2894416b5a (patch) | |
| tree | 47a5c9526c0d94598f1576fcd70d38ec82b9e9f4 /docs | |
| parent | 8f55ea9afb719728afdc09d055fdf86c446f19ba (diff) | |
| download | STC-modified-37e950b8a93172f5f07fedaca54c9b2894416b5a.tar.gz STC-modified-37e950b8a93172f5f07fedaca54c9b2894416b5a.zip | |
Added cstr_expand_uninitialized().
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/cstr_api.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/cstr_api.md b/docs/cstr_api.md index a7c45152..2e8cde33 100644 --- a/docs/cstr_api.md +++ b/docs/cstr_api.md @@ -38,6 +38,8 @@ bool cstr_empty(cstr s); size_t cstr_reserve(cstr* self, size_t capacity); void cstr_resize(cstr* self, size_t len, char fill); +void cstr_shrink_to_fit(cstr* self); +char* cstr_expand_uninitialized(cstr* self, size_t n); // return ptr to uninit data void cstr_clear(cstr* self); cstr* cstr_assign(cstr* self, const char* str); |
