summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/unordered_set.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-12-23 23:55:10 +0100
committerTyge Løvset <[email protected]>2022-12-23 23:55:10 +0100
commitd623c6c85071b9af5d607bb5d9aceceaea05220a (patch)
treef20fc3714f86e1553d1103bed6dc8efefcbd9d6b /misc/examples/unordered_set.c
parent5f57d597cd27aef55adbcb3b452973b0c6e33667 (diff)
downloadSTC-modified-d623c6c85071b9af5d607bb5d9aceceaea05220a.tar.gz
STC-modified-d623c6c85071b9af5d607bb5d9aceceaea05220a.zip
Experimental uppercase macros.
Diffstat (limited to 'misc/examples/unordered_set.c')
-rw-r--r--misc/examples/unordered_set.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/examples/unordered_set.c b/misc/examples/unordered_set.c
index a0b639da..509f97e1 100644
--- a/misc/examples/unordered_set.c
+++ b/misc/examples/unordered_set.c
@@ -7,7 +7,7 @@
int main()
{
// declaring set for storing string data-type
- c_auto (cset_str, stringSet)
+ c_AUTO (cset_str, stringSet)
{
// inserting various string, same string will be stored
// once in set
@@ -36,7 +36,7 @@ int main()
// now iterating over whole set and printing its
// content
printf("All elements :\n");
- c_foreach (itr, cset_str, stringSet)
+ c_FOREACH (itr, cset_str, stringSet)
printf("%s\n", cstr_str(itr.ref));
}
}