summaryrefslogtreecommitdiffhomepage
path: root/docs/cpque_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-07-06 22:26:53 +0200
committerTyge Løvset <[email protected]>2022-07-06 22:26:53 +0200
commitb94170eefce899d0b236804681d77fe026956fd9 (patch)
tree9d1bad3bdfce085cc8ff8c567943ffd8750aa644 /docs/cpque_api.md
parent6e91820d7cf632ff30b936c554a0bdf83c9e64b2 (diff)
downloadSTC-modified-b94170eefce899d0b236804681d77fe026956fd9.tar.gz
STC-modified-b94170eefce899d0b236804681d77fe026956fd9.zip
Version 3.7. Make sure to check NEWS/Changes in README.md for a few code-breaking API changes.
Diffstat (limited to 'docs/cpque_api.md')
-rw-r--r--docs/cpque_api.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/cpque_api.md b/docs/cpque_api.md
index d9a381cc..12f5c3bc 100644
--- a/docs/cpque_api.md
+++ b/docs/cpque_api.md
@@ -32,11 +32,11 @@ cpque_X cpque_X_clone(cpque_X pq);
void cpque_X_clear(cpque_X* self);
bool cpque_X_reserve(cpque_X* self, size_t n);
void cpque_X_shrink_to_fit(cpque_X* self);
-void cpque_X_copy(cpque_X* self, cpque_X other);
+void cpque_X_copy(cpque_X* self, const cpque_X* other);
void cpque_X_drop(cpque_X* self); // destructor
-size_t cpque_X_size(cpque_X pq);
-bool cpque_X_empty(cpque_X pq);
+size_t cpque_X_size(const cpque_X* self);
+bool cpque_X_empty(const cpque_X* self);
i_val* cpque_X_top(const cpque_X* self);
void cpque_X_make_heap(cpque_X* self); // heapify the vector.