From 3112061bd5cc45a175f230ef3458a4bc06c5c5a2 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Tue, 28 Jul 2020 07:12:23 +0200 Subject: Reverted to before lowercasing types --- examples/mapmap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/mapmap.c') diff --git a/examples/mapmap.c b/examples/mapmap.c index b349e8d3..67672dee 100644 --- a/examples/mapmap.c +++ b/examples/mapmap.c @@ -6,12 +6,12 @@ static void test_destr(int* x) { printf("destroy int: %d\n", *x); } -declare_cmap(ii, int, int, test_destr); -declare_cmap(im, int, cmap_ii, cmap_ii_destroy); +declare_CMap(ii, int, int, test_destr); +declare_CMap(im, int, CMap_ii, cmap_ii_destroy); int main(void) { - cmap_im m = cmap_init; - cmap_ii ini = cmap_init; + CMap_im m = cmap_init; + CMap_ii ini = cmap_init; cmap_ii_put(&cmap_im_insert(&m, 100, ini)->value, 2000, 200); cmap_ii_put(&cmap_im_insert(&m, 100, ini)->value, 2001, 201); cmap_ii_put(&cmap_im_insert(&m, 100, ini)->value, 2000, 400); // update -- cgit v1.2.3