summaryrefslogtreecommitdiffhomepage
path: root/examples/arc_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/arc_demo.c')
-rw-r--r--examples/arc_demo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/arc_demo.c b/examples/arc_demo.c
index 8626e2d4..036b7a00 100644
--- a/examples/arc_demo.c
+++ b/examples/arc_demo.c
@@ -13,10 +13,10 @@ void int_drop(int* x) {
#define i_drop int_drop // optional, just to display the elements destroyed
#include <stc/carc.h> // iref
-#define i_key_sptr iref // note: use i_key_bind instead of i_key for carc/cbox elements
+#define i_key_arcbox iref // note: use i_key_bind instead of i_key for carc/cbox elements
#include <stc/csset.h> // csset_iref (like: std::set<std::shared_ptr<int>>)
-#define i_val_sptr iref // note: as above.
+#define i_val_arcbox iref // note: as above.
#include <stc/cvec.h> // cvec_iref (like: std::vector<std::shared_ptr<int>>)
int main()