diff options
| author | Tyge Løvset <[email protected]> | 2022-12-23 23:55:10 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-12-23 23:55:10 +0100 |
| commit | d623c6c85071b9af5d607bb5d9aceceaea05220a (patch) | |
| tree | f20fc3714f86e1553d1103bed6dc8efefcbd9d6b /misc/examples/sso_map.c | |
| parent | 5f57d597cd27aef55adbcb3b452973b0c6e33667 (diff) | |
| download | STC-modified-d623c6c85071b9af5d607bb5d9aceceaea05220a.tar.gz STC-modified-d623c6c85071b9af5d607bb5d9aceceaea05220a.zip | |
Experimental uppercase macros.
Diffstat (limited to 'misc/examples/sso_map.c')
| -rw-r--r-- | misc/examples/sso_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/examples/sso_map.c b/misc/examples/sso_map.c index cc5e16a1..3627d101 100644 --- a/misc/examples/sso_map.c +++ b/misc/examples/sso_map.c @@ -5,11 +5,11 @@ int main() { - c_auto (cmap_str, m) { + c_AUTO (cmap_str, m) { cmap_str_emplace(&m, "Test short", "This is a short string."); cmap_str_emplace(&m, "Test long ", "This is a longer string."); - c_forpair (k, v, cmap_str, m) + c_FORPAIR (k, v, cmap_str, m) printf("%s: '%s' Len=%" c_ZU ", Is long: %s\n", cstr_str(_.k), cstr_str(_.v), cstr_size(_.v), cstr_is_long(_.v)?"true":"false"); |
