diff options
| author | Tyge Løvset <[email protected]> | 2021-11-21 15:04:07 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-11-21 15:04:07 +0100 |
| commit | 422272d1d87921b4524bdb276862687bf11b344d (patch) | |
| tree | 6c9bcee00f08ea9953f2d8bfff8c405f02af1686 /docs/cpque_api.md | |
| parent | 835a3a974f4f79ca789d6fca6c9745b4f4931870 (diff) | |
| download | STC-modified-422272d1d87921b4524bdb276862687bf11b344d.tar.gz STC-modified-422272d1d87921b4524bdb276862687bf11b344d.zip | |
Changed reverse() and resize() to return false if mem alloc failed.
Diffstat (limited to 'docs/cpque_api.md')
| -rw-r--r-- | docs/cpque_api.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cpque_api.md b/docs/cpque_api.md index 365ba4b9..8f01e4c9 100644 --- a/docs/cpque_api.md +++ b/docs/cpque_api.md @@ -26,7 +26,7 @@ cpque_X cpque_X_init(void); cpque_X cpque_X_clone(cpque_X pq); void cpque_X_clear(cpque_X* self); -void cpque_X_reserve(cpque_X* self, size_t n); +bool cpque_X_reserve(cpque_X* self, size_t n); void cpque_X_copy(cpque_X* self, cpque_X other); void cpque_X_del(cpque_X* self); // destructor |
