diff options
| author | Tyge Lovset <[email protected]> | 2022-04-02 00:14:17 +0200 |
|---|---|---|
| committer | Tyge Lovset <[email protected]> | 2022-04-02 00:32:00 +0200 |
| commit | d1660bb47cbf3fc0a7066ef1472f2d3bdfeb92b3 (patch) | |
| tree | 2e9e55277432c1008cde08ac2c714d898c098fee /include/stc/cvec.h | |
| parent | b707e18ae93c60f2b659bad39f1daf54604445f7 (diff) | |
| download | STC-modified-d1660bb47cbf3fc0a7066ef1472f2d3bdfeb92b3.tar.gz STC-modified-d1660bb47cbf3fc0a7066ef1472f2d3bdfeb92b3.zip | |
Internal refactoring/macro rename.
Diffstat (limited to 'include/stc/cvec.h')
| -rw-r--r-- | include/stc/cvec.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/stc/cvec.h b/include/stc/cvec.h index 7ba9fb85..ec8e9164 100644 --- a/include/stc/cvec.h +++ b/include/stc/cvec.h @@ -92,7 +92,7 @@ STC_API _cx_iter _cx_memb(_find_in)(_cx_iter it1, _cx_iter it2, i_valraw STC_API _cx_iter _cx_memb(_bsearch_in)(_cx_iter it1, _cx_iter it2, i_valraw raw);
#endif
-#if !defined _i_no_from
+#if !defined _i_no_clone
STC_API _cx_self _cx_memb(_clone)(_cx_self cx);
STC_API _cx_iter _cx_memb(_clone_range_p)(_cx_self* self, _cx_value* pos,
const _cx_value* p1, const _cx_value* p2);
@@ -122,7 +122,7 @@ STC_INLINE _cx_iter _cx_memb(_emplace_range)(_cx_self* self, _cx_iter it, _cx_iter it1, _cx_iter it2) {
return _cx_memb(_clone_range_p)(self, it.ref, it1.ref, it2.ref);
}
-#endif // !_c_no_from
+#endif // !_i_no_clone
STC_INLINE size_t _cx_memb(_size)(_cx_self cx) { return cvec_rep_(&cx)->size; }
STC_INLINE size_t _cx_memb(_capacity)(_cx_self cx) { return cvec_rep_(&cx)->cap; }
@@ -330,7 +330,7 @@ _cx_memb(_erase_range_p)(_cx_self* self, _cx_value* p1, _cx_value* p2) { return c_make(_cx_iter){.ref = p1};
}
-#if !defined _i_no_from
+#if !defined _i_no_clone
STC_DEF _cx_self
_cx_memb(_clone)(_cx_self cx) {
@@ -357,7 +357,7 @@ _cx_memb(_emplace_range_p)(_cx_self* self, _cx_value* pos, for (; p1 != p2; ++p1) *pos++ = i_valfrom(*p1);
return it;
}
-#endif // !_i_no_from
+#endif // !_i_no_clone
#if !c_option(c_no_cmp)
|
