summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cqueue.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-12-02 14:39:42 +0100
committerTyge Løvset <[email protected]>2021-12-02 14:39:42 +0100
commit323f21d57aaf30ffd43d6b67146bc887ad206298 (patch)
tree3e4045251b0a0d0fb55e152ce728da6b5a3e875b /include/stc/cqueue.h
parentf857d8215a266673e25356779f740100fe362025 (diff)
downloadSTC-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/cqueue.h')
-rw-r--r--include/stc/cqueue.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/stc/cqueue.h b/include/stc/cqueue.h
index 45e3c2a6..aba07726 100644
--- a/include/stc/cqueue.h
+++ b/include/stc/cqueue.h
@@ -53,10 +53,10 @@ int main() {
}
*/
-#ifndef i_prefix
-#define i_prefix cqueue_
+#ifndef _i_prefix
+#define _i_prefix cqueue_
#endif
-#define i_queue
+#define _i_queue
#define _push_back _push
#define _pop_front _pop
@@ -64,4 +64,4 @@ int main() {
#undef _push_back
#undef _pop_front
-#undef i_queue
+#undef _i_queue