summaryrefslogtreecommitdiffhomepage
path: root/examples/box2.c
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2022-04-18 12:12:01 +0200
committerTyge Lovset <[email protected]>2022-04-18 12:12:01 +0200
commitb0d60c33a073782fe0bb08c835ca9db0b94145d0 (patch)
tree1683369ec66467720502b3d904bf9ab11343076e /examples/box2.c
parent00804d9ff488f63468a0bb528c7b807aea7c3ea3 (diff)
downloadSTC-modified-b0d60c33a073782fe0bb08c835ca9db0b94145d0.tar.gz
STC-modified-b0d60c33a073782fe0bb08c835ca9db0b94145d0.zip
Removed i_drop and i_from template specifiers to reduce redundancies and add clarity (error given if used): use i_valdrop/i_valfrom and i_keydrop/i_keyfrom instead.
Added missing at_mut() function to cdeq.
Diffstat (limited to 'examples/box2.c')
-rw-r--r--examples/box2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/box2.c b/examples/box2.c
index 68a9ccba..6d118e2c 100644
--- a/examples/box2.c
+++ b/examples/box2.c
@@ -27,7 +27,7 @@ struct {
// Box in box:
#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.
+ // it will auto-set i_valdrop, i_valfrom, i_cmp for you.
#define i_opt c_no_cmp
#define i_tag BoxPoint
#include <stc/cbox.h> // cbox_BoxPoint