summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/music_arc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/music_arc.c')
-rw-r--r--misc/examples/music_arc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/examples/music_arc.c b/misc/examples/music_arc.c
index 4efc35c8..49008523 100644
--- a/misc/examples/music_arc.c
+++ b/misc/examples/music_arc.c
@@ -22,13 +22,13 @@ void Song_drop(Song* s) {
// Define the shared pointer:
#define i_type SongArc
-#define i_valclass Song
+#define i_keyclass Song
#define i_no_hash // no hash fn for Song, fallback hash pointer to Song.
#include <stc/carc.h>
// ... and a vector of them
#define i_type SongVec
-#define i_valboxed SongArc // use i_valboxed on carc / cbox (instead of i_val)
+#define i_keyboxed SongArc // use i_keyboxed on carc / cbox (instead of i_key)
#include <stc/cvec.h>
void example3()