diff options
| author | Tyge Løvset <[email protected]> | 2020-09-03 12:59:41 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-09-03 12:59:41 +0200 |
| commit | a4e2ee22fd57665d2388d5debc17db896a4a389f (patch) | |
| tree | 6a3a88772cd9d3b604f9def4c0579ed941983f61 /examples/words.c | |
| parent | aaa3d7f6a107a668b1f24d8ed061fe74237d9883 (diff) | |
| download | STC-modified-a4e2ee22fd57665d2388d5debc17db896a4a389f.tar.gz STC-modified-a4e2ee22fd57665d2388d5debc17db896a4a389f.zip | |
Changed constant <container>_init to <container>_ini to avoid conflict with <container>_init() method.
Reverted name cprique back to cpqueue.
Diffstat (limited to 'examples/words.c')
| -rw-r--r-- | examples/words.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/words.c b/examples/words.c index 98134cf6..275ffee7 100644 --- a/examples/words.c +++ b/examples/words.c @@ -11,7 +11,7 @@ declare_cmap_strkey(si, int); int main1() { - clist_str lwords = clist_init; + clist_str lwords = clist_ini; c_push(&lwords, clist_str, c_items( "this", "sentence", "is", "not", "a", "sentence", "this", "sentence", "is", "a", "hoax" @@ -21,13 +21,13 @@ int main1() printf("%s\n", w.item->value.str); puts(""); - cvec_str words = cvec_init; + cvec_str words = cvec_ini; c_push(&words, cvec_str, c_items( "this", "sentence", "is", "not", "a", "sentence", "this", "sentence", "is", "a", "hoax" )); - cmap_si word_map = cmap_init; + cmap_si word_map = cmap_ini; c_foreach (w, cvec_str, words) ++cmap_si_insert(&word_map, w.item->str, 0)->value; |
