summaryrefslogtreecommitdiffhomepage
path: root/include/stc/csset.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-09-07 16:02:49 +0200
committerTyge Løvset <[email protected]>2021-09-07 16:02:49 +0200
commit3b82f564b38f354778e096c3c0de2bd20b147d0a (patch)
treebaec17092208d107cf4396fb42c71057aa5203a8 /include/stc/csset.h
parent8296ca3085c1fc0c86659000440357e1c02e9595 (diff)
downloadSTC-modified-3b82f564b38f354778e096c3c0de2bd20b147d0a.tar.gz
STC-modified-3b82f564b38f354778e096c3c0de2bd20b147d0a.zip
Added csmap.h and csset.h + test.
Diffstat (limited to 'include/stc/csset.h')
-rw-r--r--include/stc/csset.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/stc/csset.h b/include/stc/csset.h
index f275cbfd..f2378095 100644
--- a/include/stc/csset.h
+++ b/include/stc/csset.h
@@ -20,8 +20,6 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
-#ifndef CSSET_H_INCLUDED
-#define CSSET_H_INCLUDED
// Sorted set - implemented as an AA-tree (balanced binary tree).
/*
@@ -43,8 +41,8 @@ int main(void) {
}
*/
-#define i_cnt csset
-#define KEY_REF_csset(vp) (vp)
+#define i_module csset
+#define cx_MAP_ONLY c_false
+#define cx_SET_ONLY c_true
+#define cx_keyref(vp) (vp)
#include "csmap.h"
-
-#endif