summaryrefslogtreecommitdiffhomepage
path: root/include/stc/csset.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-09-11 22:58:58 +0200
committerTyge Løvset <[email protected]>2021-09-11 22:58:58 +0200
commita2aa14cc91ccbd42cd1188c6fac6126a38d0de77 (patch)
tree843baa1eba7abae70b54326ca898607eedbc5e76 /include/stc/csset.h
parent658019e1e53ad1ccbca5c623b7199c445eab8b86 (diff)
downloadSTC-modified-a2aa14cc91ccbd42cd1188c6fac6126a38d0de77.tar.gz
STC-modified-a2aa14cc91ccbd42cd1188c6fac6126a38d0de77.zip
Fixed docs for newstyle.
Diffstat (limited to 'include/stc/csset.h')
-rw-r--r--include/stc/csset.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/stc/csset.h b/include/stc/csset.h
index f2378095..44fbfa54 100644
--- a/include/stc/csset.h
+++ b/include/stc/csset.h
@@ -23,10 +23,11 @@
// Sorted set - implemented as an AA-tree (balanced binary tree).
/*
-#include <stc/csset.h>
#include <stdio.h>
-using_csset(i, int); // sorted set of int
+#define i_tag i
+#define i_key int
+#include <stc/csset.h> // sorted set of int
int main(void) {
csset_i s = csset_i_init();