diff options
| author | Tyge <[email protected]> | 2020-04-26 21:41:05 +0200 |
|---|---|---|
| committer | Tyge <[email protected]> | 2020-04-26 21:41:05 +0200 |
| commit | cfccbd6d31b2f8c575bdbb1e43d07840fef35345 (patch) | |
| tree | 6a4b9cbcb213771e3a86cac4237467bac5775f55 /EXAMPLE.md | |
| parent | 3cb4dbde06c56c9ba069ca54ad6c6334e3b56943 (diff) | |
| download | STC-modified-cfccbd6d31b2f8c575bdbb1e43d07840fef35345.tar.gz STC-modified-cfccbd6d31b2f8c575bdbb1e43d07840fef35345.zip | |
Updated doc.
Diffstat (limited to 'EXAMPLE.md')
| -rw-r--r-- | EXAMPLE.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -78,7 +78,7 @@ Note we use struct PersonView to put keys in the map, but is stored as struct Pe ````
int main()
{
- CMap_ex m6 = cmap_ex_init;
+ CMap_ex m6 = cmap_init;
cmap_ex_put(&m6, (struct PersonView){"John", "Doe", 24}, cstring_make("dead"));
cmap_ex_put(&m6, (struct PersonView){"Jane", "Doe", 21}, cstring_make("another"));
cmap_ex_put(&m6, (struct PersonView){"John", "Travolta", 66}, cstring_make("actor"));
|
