summaryrefslogtreecommitdiffhomepage
path: root/include/stc/clist.h
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2022-04-02 00:14:17 +0200
committerTyge Lovset <[email protected]>2022-04-02 00:32:00 +0200
commitd1660bb47cbf3fc0a7066ef1472f2d3bdfeb92b3 (patch)
tree2e9e55277432c1008cde08ac2c714d898c098fee /include/stc/clist.h
parentb707e18ae93c60f2b659bad39f1daf54604445f7 (diff)
downloadSTC-modified-d1660bb47cbf3fc0a7066ef1472f2d3bdfeb92b3.tar.gz
STC-modified-d1660bb47cbf3fc0a7066ef1472f2d3bdfeb92b3.zip
Internal refactoring/macro rename.
Diffstat (limited to 'include/stc/clist.h')
-rw-r--r--include/stc/clist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stc/clist.h b/include/stc/clist.h
index 70620534..e035d830 100644
--- a/include/stc/clist.h
+++ b/include/stc/clist.h
@@ -106,7 +106,7 @@ STC_API _cx_iter _cx_memb(_splice)(_cx_self* self, _cx_iter it, _cx_self*
STC_API _cx_self _cx_memb(_split_off)(_cx_self* self, _cx_iter it1, _cx_iter it2);
STC_API _cx_node* _cx_memb(_erase_after_)(_cx_self* self, _cx_node* node);
-#if !defined _i_no_from
+#if !defined _i_no_clone
STC_API _cx_self _cx_memb(_clone)(_cx_self cx);
STC_INLINE i_val _cx_memb(_value_clone)(i_val val)
{ return i_valfrom(i_valto(&val)); }
@@ -185,7 +185,7 @@ _cx_memb(_get_mut)(_cx_self* self, i_valraw val) {
// -------------------------- IMPLEMENTATION -------------------------
#if defined(_i_implement)
-#if !defined _i_no_from
+#if !defined _i_no_clone
STC_DEF _cx_self
_cx_memb(_clone)(_cx_self cx) {
_cx_self out = _cx_memb(_init)();