summaryrefslogtreecommitdiffhomepage
path: root/examples/mapmap.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/mapmap.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/mapmap.c')
-rw-r--r--examples/mapmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mapmap.c b/examples/mapmap.c
index 7faaffd1..94b92a81 100644
--- a/examples/mapmap.c
+++ b/examples/mapmap.c
@@ -16,8 +16,8 @@
// Shorthand for:
//#define i_val People_value
//#define i_cmp People_value_cmp
-//#define i_from People_value_clone
-//#define i_drop People_value_drop
+//#define i_valfrom People_value_clone
+//#define i_valdrop People_value_drop
#include <stc/cvec.h>
void add(Departments* deps, const char* name, const char* email, const char* dep)