From 8505d9caf2280c0b7486fef9e018befe9d9fcb96 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Mon, 4 Jan 2021 17:15:46 +0100 Subject: Added value_clone() method to containers. --- examples/words.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/words.c b/examples/words.c index c8e17deb..5f24a944 100644 --- a/examples/words.c +++ b/examples/words.c @@ -11,7 +11,7 @@ using_cmap_strkey(si, int); int main1() { - c_defcnt (clist_str, lwords, { + c_defcon (clist_str, lwords, { "this", "sentence", "is", "not", "a", "sentence", "this", "sentence", "is", "a", "hoax" }); @@ -21,7 +21,7 @@ int main1() printf("%s\n", w.ref->str); puts(""); - c_defcnt (cvec_str, words, { + c_defcon (cvec_str, words, { "this", "sentence", "is", "not", "a", "sentence", "this", "sentence", "is", "a", "hoax" }); -- cgit v1.2.3