summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-09-23 09:11:27 +0200
committerTyge Løvset <[email protected]>2021-09-23 09:11:27 +0200
commit9058dd37ee3eda1dc004e07218cd8115e3fa4f09 (patch)
treefd8cddba1a9d1ea3f8513575c0866000ab37da99 /docs
parentcaa64bd67527b68c159fd33130f43de65d3a18d1 (diff)
downloadSTC-modified-9058dd37ee3eda1dc004e07218cd8115e3fa4f09.tar.gz
STC-modified-9058dd37ee3eda1dc004e07218cd8115e3fa4f09.zip
Added sptr_ex.c example + minors.
Diffstat (limited to 'docs')
-rw-r--r--docs/csptr_api.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/csptr_api.md b/docs/csptr_api.md
index 5c15fae4..d1157162 100644
--- a/docs/csptr_api.md
+++ b/docs/csptr_api.md
@@ -76,8 +76,8 @@ void int_del(int* x) {
#define i_key_csptr int // refer to csptr_int definition above
#include <stc/csset.h> // define a sorted set of csptr_int
-#define i_val_csptr int
-#include <stc/cvec.h> // define a sorted vector of csptr_int
+#define i_val_csptr int // refer to csptr_int definition above
+#include <stc/cvec.h> // define a vector of csptr_int
int main()
{