diff options
| author | Tyge Løvset <[email protected]> | 2022-03-16 21:41:40 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-03-16 21:41:40 +0100 |
| commit | 0468971b404cee5582d360d7d1c66bb4148e1614 (patch) | |
| tree | 9161ccbea490a5dab70e641f7bd568521a5da636 /examples/box2.c | |
| parent | 342484f70998258022c26e6af2926ecc7635bbdd (diff) | |
| download | STC-modified-0468971b404cee5582d360d7d1c66bb4148e1614.tar.gz STC-modified-0468971b404cee5582d360d7d1c66bb4148e1614.zip | |
Bugfix: carc and cbox cmp functions had bug.
Renamed: i_key_sptr / i_val_sptr to i_key_arcbox / i_val_arcbox.
Other smaller updates.
Diffstat (limited to 'examples/box2.c')
| -rw-r--r-- | examples/box2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/box2.c b/examples/box2.c index e5b4dacd..68a9ccba 100644 --- a/examples/box2.c +++ b/examples/box2.c @@ -26,8 +26,8 @@ struct { #include <stc/cbox.h> // cbox_Rectangle
// Box in box:
-#define i_val_sptr cbox_Point // NB: adviced to use i_val_sptr when value is a cbox or carc!
- // it will auto-set i_drop, i_from, i_cmp for you.
+#define i_val_arcbox cbox_Point // NB: use i_val_arcbox when value is a cbox or carc!
+ // it will auto-set i_drop, i_from, i_cmp for you.
#define i_opt c_no_cmp
#define i_tag BoxPoint
#include <stc/cbox.h> // cbox_BoxPoint
|
