From c0949ad7193619eda7df29291d9e1166fecada63 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Tue, 14 Dec 2021 21:36:47 +0100 Subject: Small improvement of example box2.c. --- examples/box2.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/box2.c b/examples/box2.c index d65ae717..30fc5405 100644 --- a/examples/box2.c +++ b/examples/box2.c @@ -27,8 +27,9 @@ struct { // Box in box: #define i_val cbox_Point -#define i_del(b) cbox_Point_del(b) -#define i_opt c_no_compare|c_no_clone +#define i_del(bp) cbox_Point_del(bp) +#define i_from(b) cbox_Point_clone(b) +#define i_opt c_no_compare #define i_tag BoxPoint #include // cbox_BoxPoint -- cgit v1.2.3