diff options
Diffstat (limited to 'include/stc/carr3.h')
| -rw-r--r-- | include/stc/carr3.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/stc/carr3.h b/include/stc/carr3.h index c6c82019..c215bd80 100644 --- a/include/stc/carr3.h +++ b/include/stc/carr3.h @@ -67,12 +67,11 @@ STC_API _cx_self _cx_memb(_with_values)(size_t xdim, size_t ydim, size_t zdim, STC_API _cx_self _cx_memb(_with_storage)(size_t xdim, size_t ydim, size_t zdim, _cx_value* storage); STC_API _cx_value* _cx_memb(_release)(_cx_self* self); STC_API void _cx_memb(_drop)(_cx_self* self); -#if !defined _i_no_from +#if !defined _i_no_clone STC_API _cx_self _cx_memb(_clone)(_cx_self src); STC_API void _cx_memb(_copy)(_cx_self *self, _cx_self other); #endif - STC_INLINE _cx_self _cx_memb(_init)(size_t xdim, size_t ydim, size_t zdim) { return _cx_memb(_with_storage)(xdim, ydim, zdim, c_alloc_n(_cx_value, xdim*ydim*zdim)); } @@ -120,7 +119,7 @@ STC_DEF _cx_self _cx_memb(_with_values)(size_t xdim, size_t ydim, size_t zdim, i return _arr; } -#if !defined _i_no_from +#if !defined _i_no_clone STC_DEF _cx_self _cx_memb(_clone)(_cx_self src) { _cx_self _arr = _cx_memb(_init)(src.xdim, src.ydim, src.zdim); |
