summaryrefslogtreecommitdiffhomepage
path: root/docs/cmap_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-01-09 23:55:42 +0100
committerTyge Løvset <[email protected]>2021-01-09 23:55:42 +0100
commitf504699fb346eeb37b2ea2afe493566a26be7f4e (patch)
tree037a22aa785f8a4a977e2546a89cd3eccd38f726 /docs/cmap_api.md
parent0b64431209cb7acf86f4db055e69e23b7a9d8ef6 (diff)
downloadSTC-modified-f504699fb346eeb37b2ea2afe493566a26be7f4e.tar.gz
STC-modified-f504699fb346eeb37b2ea2afe493566a26be7f4e.zip
Added cmap benchmark and external picobenchmark.hpp
Updated cstr.h
Diffstat (limited to 'docs/cmap_api.md')
-rw-r--r--docs/cmap_api.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/cmap_api.md b/docs/cmap_api.md
index ee20793e..5e0a9fa3 100644
--- a/docs/cmap_api.md
+++ b/docs/cmap_api.md
@@ -134,8 +134,7 @@ using_cmap_str();
int main()
{
// Create an unordered_map of three strings (that map to strings)
- cmap_str u = cmap_inits;
- c_push_items(&u, cmap_str, {
+ c_init (cmap_str, u, {
{"RED", "#FF0000"},
{"GREEN", "#00FF00"},
{"BLUE", "#0000FF"}