From a4e2ee22fd57665d2388d5debc17db896a4a389f Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Thu, 3 Sep 2020 12:59:41 +0200 Subject: Changed constant _init to _ini to avoid conflict with _init() method. Reverted name cprique back to cpqueue. --- examples/complex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/complex.c') diff --git a/examples/complex.c b/examples/complex.c index 8810bac5..25a59eff 100644 --- a/examples/complex.c +++ b/examples/complex.c @@ -14,14 +14,14 @@ int main() { int xdim = 4, ydim = 6; int x = 1, y = 5, tableKey = 42; const char* strKey = "first"; - cmap_s myMap = cmap_init; + cmap_s myMap = cmap_ini; { // Construct. carray2f table = carray2f_make(ydim, xdim, 0.f); printf("table: (%zu, %zu)\n", carray2_ydim(table), carray2_xdim(table)); - clist_y tableList = clist_init; + clist_y tableList = clist_ini; // Put in some data. - cmap_g listMap = cmap_init; + cmap_g listMap = cmap_ini; *carray2f_at(&table, y, x) = 3.1415927; // table[y][x] clist_y_push_back(&tableList, table); -- cgit v1.2.3