summaryrefslogtreecommitdiffhomepage
path: root/misc/examples
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-02-16 19:13:52 +0100
committerTyge Løvset <[email protected]>2023-02-16 19:13:52 +0100
commit8864c11b2b85f832ce746a902b43ecf170e2eebc (patch)
tree8f5f51456182b96e0feb6b5869576033ed962ad6 /misc/examples
parent290055ad96c22fd9dfb539d0217e45cd2f1cdb91 (diff)
downloadSTC-modified-8864c11b2b85f832ce746a902b43ecf170e2eebc.tar.gz
STC-modified-8864c11b2b85f832ce746a902b43ecf170e2eebc.zip
Reverted and removed maps put function. Renamed clist node api functions. Minor fix in template.h
Diffstat (limited to 'misc/examples')
-rw-r--r--misc/examples/intrusive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/examples/intrusive.c b/misc/examples/intrusive.c
index ce8a3ada..5f9f8d07 100644
--- a/misc/examples/intrusive.c
+++ b/misc/examples/intrusive.c
@@ -35,7 +35,7 @@ int main()
}
c_foreach (i, Outer, outer)
- Inner_push_node_back(&inner, i.ref);
+ Inner_push_back_node(&inner, i.ref);
printLists(inner, outer);
@@ -48,7 +48,7 @@ int main()
c_foreach (i, Inner, inner)
if (*i.ref & 1)
- Inner_unlink_node_after(&inner, i.prev);
+ Inner_unlink_after_node(&inner, i.prev);
printLists(inner, outer);
}