summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-01-04 17:15:46 +0100
committerTyge Løvset <[email protected]>2021-01-04 17:15:46 +0100
commit8505d9caf2280c0b7486fef9e018befe9d9fcb96 (patch)
treece24dc3825d43f44840e86fb9d8c188c59cf2db6 /examples
parente76652eda0c8e2008fd500adfcf4210e261f0583 (diff)
downloadSTC-modified-8505d9caf2280c0b7486fef9e018befe9d9fcb96.tar.gz
STC-modified-8505d9caf2280c0b7486fef9e018befe9d9fcb96.zip
Added value_clone() method to containers.
Diffstat (limited to 'examples')
-rw-r--r--examples/words.c4
1 files changed, 2 insertions, 2 deletions
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"
});