summaryrefslogtreecommitdiffhomepage
path: root/examples/multimap.c
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2021-09-20 10:36:25 +0200
committerTyge Lovset <[email protected]>2021-09-20 10:36:25 +0200
commit0861391b9b3b8ad37e24b0dba7da192f31e48a6b (patch)
treedf78821e47690e1793465d0fcf3d068ad33ccf44 /examples/multimap.c
parent625a0fad0c1d187d56d3a9c9bb831987e9250e86 (diff)
downloadSTC-modified-0861391b9b3b8ad37e24b0dba7da192f31e48a6b.tar.gz
STC-modified-0861391b9b3b8ad37e24b0dba7da192f31e48a6b.zip
Renamed macros: breaking changes for Version 2.0!
c_forvar => c_autovar c_forscope => c_autoscope c_forauto => c_auto Removed: c_fordefer(x); use c_forscope(0, x) instead. Added: c_exitauto; // continue
Diffstat (limited to 'examples/multimap.c')
-rw-r--r--examples/multimap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multimap.c b/examples/multimap.c
index 0f5ce538..64e3493b 100644
--- a/examples/multimap.c
+++ b/examples/multimap.c
@@ -59,7 +59,7 @@ void OlympicLocation_del(OlympicLocation* self) {
int main()
{
// Define the multimap with destructor defered to when block is completed.
- c_forauto (csmap_OL, multimap)
+ c_auto (csmap_OL, multimap)
{
const clist_OL empty = clist_OL_init();