summaryrefslogtreecommitdiffhomepage
path: root/docs/cmap_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-05-15 15:47:58 +0200
committerTyge Løvset <[email protected]>2021-05-15 15:47:58 +0200
commit915ccf1d811ae9a0469cddd8f2dc6370e835e24b (patch)
tree81d82a35dacde0767a46317224343a82daef0fa7 /docs/cmap_api.md
parentac20f731153747ec5cbfc5566cc149485e20002a (diff)
downloadSTC-modified-915ccf1d811ae9a0469cddd8f2dc6370e835e24b.tar.gz
STC-modified-915ccf1d811ae9a0469cddd8f2dc6370e835e24b.zip
API change: Renamed c_init() to c_var() to better describe it declares and initializes a container variable. Will create a version 2.0 RC release soon.
Diffstat (limited to 'docs/cmap_api.md')
-rw-r--r--docs/cmap_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cmap_api.md b/docs/cmap_api.md
index 37bfe110..9fd96e5c 100644
--- a/docs/cmap_api.md
+++ b/docs/cmap_api.md
@@ -123,7 +123,7 @@ using_cmap_str();
int main()
{
// Create an unordered_map of three strings (that map to strings)
- c_init (cmap_str, u, {
+ c_var (cmap_str, u, {
{"RED", "#FF0000"},
{"GREEN", "#00FF00"},
{"BLUE", "#0000FF"}