diff options
| -rw-r--r-- | examples/box2.c | 5 |
1 files 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 <stc/cbox.h> // cbox_BoxPoint
|
