summaryrefslogtreecommitdiffhomepage
path: root/examples/complex.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-09-03 12:59:41 +0200
committerTyge Løvset <[email protected]>2020-09-03 12:59:41 +0200
commita4e2ee22fd57665d2388d5debc17db896a4a389f (patch)
tree6a3a88772cd9d3b604f9def4c0579ed941983f61 /examples/complex.c
parentaaa3d7f6a107a668b1f24d8ed061fe74237d9883 (diff)
downloadSTC-modified-a4e2ee22fd57665d2388d5debc17db896a4a389f.tar.gz
STC-modified-a4e2ee22fd57665d2388d5debc17db896a4a389f.zip
Changed constant <container>_init to <container>_ini to avoid conflict with <container>_init() method.
Reverted name cprique back to cpqueue.
Diffstat (limited to 'examples/complex.c')
-rw-r--r--examples/complex.c6
1 files changed, 3 insertions, 3 deletions
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);