summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cbox.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-01-27 15:09:59 +0100
committerTyge Løvset <[email protected]>2023-01-27 15:09:59 +0100
commit8c81c9642b5f7564f06654562d929703f2d2dd0a (patch)
tree05a33a34d339dad8fc5a909443b6c616cb5b800d /include/stc/cbox.h
parent5c1b1616f5a20a54c32e57b0bea49f366441356b (diff)
downloadSTC-modified-8c81c9642b5f7564f06654562d929703f2d2dd0a.tar.gz
STC-modified-8c81c9642b5f7564f06654562d929703f2d2dd0a.zip
(Reverted) c_COMPOUND() to c_LITERAL().
Diffstat (limited to 'include/stc/cbox.h')
-rw-r--r--include/stc/cbox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stc/cbox.h b/include/stc/cbox.h
index 6dc41ed1..0b6c29ec 100644
--- a/include/stc/cbox.h
+++ b/include/stc/cbox.h
@@ -79,13 +79,13 @@ _cx_deftypes(_c_cbox_types, _cx_self, i_key);
// constructors (take ownership)
STC_INLINE _cx_self _cx_memb(_init)(void)
- { return c_COMPOUND(_cx_self){NULL}; }
+ { return c_LITERAL(_cx_self){NULL}; }
STC_INLINE long _cx_memb(_use_count)(const _cx_self* self)
{ return (long)(self->get != NULL); }
STC_INLINE _cx_self _cx_memb(_from_ptr)(_cx_value* p)
- { return c_COMPOUND(_cx_self){p}; }
+ { return c_LITERAL(_cx_self){p}; }
// c++: std::make_unique<i_key>(val)
STC_INLINE _cx_self _cx_memb(_make)(_cx_value val) {