diff options
| author | Tyge Løvset <[email protected]> | 2021-12-02 14:39:42 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-12-02 14:39:42 +0100 |
| commit | 323f21d57aaf30ffd43d6b67146bc887ad206298 (patch) | |
| tree | 3e4045251b0a0d0fb55e152ce728da6b5a3e875b /include/stc/cset.h | |
| parent | f857d8215a266673e25356779f740100fe362025 (diff) | |
| download | STC-modified-323f21d57aaf30ffd43d6b67146bc887ad206298.tar.gz STC-modified-323f21d57aaf30ffd43d6b67146bc887ad206298.zip | |
Breaking changes for i_fwd and i_cmp_none:
- Removed: i_cmp_none and i_fwd (replaced by c_no_compare and c_is_fwd args to i_opt).
- Added compile-time disabling of clonable and comparable container elements, controlled by i_opt (c_no_clone | c_no_compare)
- Added i_opt: can define multiple compile-time options: c_no_compare, c_no_clone, c_no_atomic, c_is_fwd: may be combined with | separator.
- Except for csptr, when i_del / i_valdel / i_keydel is defined, also i_from / i_keyfrom / i_valfrom must be defined or i_opt c_no_clone.
- For struct elements, either i_cmp must be defined (as before), or define i_opt c_no_compare for non-associative containers.
Diffstat (limited to 'include/stc/cset.h')
| -rw-r--r-- | include/stc/cset.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/stc/cset.h b/include/stc/cset.h index aa2ba022..d74a8ccc 100644 --- a/include/stc/cset.h +++ b/include/stc/cset.h @@ -39,8 +39,8 @@ int main(void) { }
*/
-#ifndef i_prefix
-#define i_prefix cset_
+#ifndef _i_prefix
+#define _i_prefix cset_
#endif
-#define i_isset
+#define _i_isset
#include "cmap.h"
|
