summaryrefslogtreecommitdiffstats
path: root/runtime/docs/examples/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/docs/examples/map.c')
-rw-r--r--runtime/docs/examples/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/docs/examples/map.c b/runtime/docs/examples/map.c
index ca661d05..f5f6f19f 100644
--- a/runtime/docs/examples/map.c
+++ b/runtime/docs/examples/map.c
@@ -1,6 +1,6 @@
/* create a map with a max of 100 elements */
-MAP mymap = map_new(100, INT64);
+MAP mymap = _stp_map_new(100, INT64);
/* mymap[birth year] = 2000 */
map_key_str (mymap, "birth year");