diff options
| author | Tyge Løvset <[email protected]> | 2021-09-07 16:02:49 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-09-07 16:02:49 +0200 |
| commit | 3b82f564b38f354778e096c3c0de2bd20b147d0a (patch) | |
| tree | baec17092208d107cf4396fb42c71057aa5203a8 /include/stc/csset.h | |
| parent | 8296ca3085c1fc0c86659000440357e1c02e9595 (diff) | |
| download | STC-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.h | 10 |
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
|
