diff options
| author | Tyge Løvset <[email protected]> | 2021-01-04 17:15:46 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-01-04 17:15:46 +0100 |
| commit | 8505d9caf2280c0b7486fef9e018befe9d9fcb96 (patch) | |
| tree | ce24dc3825d43f44840e86fb9d8c188c59cf2db6 /examples | |
| parent | e76652eda0c8e2008fd500adfcf4210e261f0583 (diff) | |
| download | STC-modified-8505d9caf2280c0b7486fef9e018befe9d9fcb96.tar.gz STC-modified-8505d9caf2280c0b7486fef9e018befe9d9fcb96.zip | |
Added value_clone() method to containers.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/words.c | 4 |
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" }); |
