Skip to content

Commit

Permalink
Final cstr_str() docs update..
Browse files Browse the repository at this point in the history
  • Loading branch information
tylov committed Apr 24, 2022
1 parent 1ebbd36 commit 75eade4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/cmap_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ int main()
cmap_str_emplace(&u, "WHITE", "#FFFFFF");

// Output values by key
printf("The HEX of color RED is:[%s]\n", cmap_str_at(&u, "RED")->str);
printf("The HEX of color BLACK is:[%s]\n", cmap_str_at(&u, "BLACK")->str);
printf("The HEX of color RED is:[%s]\n", cstr_str(cmap_str_at(&u, "RED")));
printf("The HEX of color BLACK is:[%s]\n", cstr_str(cmap_str_at(&u, "BLACK")));
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/csmap_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ int main()
csmap_str_emplace(&colors, "WHITE", "#FFFFFF");
// Output values by key
printf("The HEX of color RED is:[%s]\n", csmap_str_at(&colors, "RED")->str);
printf("The HEX of color BLACK is:[%s]\n", csmap_str_at(&colors, "BLACK")->str);
printf("The HEX of color RED is:[%s]\n", cstr_str(csmap_str_at(&colors, "RED")));
printf("The HEX of color BLACK is:[%s]\n", cstr_str(csmap_str_at(&colors, "BLACK")));
}
}
```
Expand Down

0 comments on commit 75eade4

Please sign in to comment.