diff options
| author | Tyge Løvset <[email protected]> | 2020-11-03 08:38:26 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-11-03 08:38:26 +0100 |
| commit | cc8fd2c9d8b5b8170a02ec33168d60bb92cd781d (patch) | |
| tree | cf7a840ddb4b3a557302eb114831a38025ef44cb /examples/complex.c | |
| parent | 7171182ce7e0106f8f0fc47ed8f1fe1f58b2ea5d (diff) | |
| download | STC-modified-cc8fd2c9d8b5b8170a02ec33168d60bb92cd781d.tar.gz STC-modified-cc8fd2c9d8b5b8170a02ec33168d60bb92cd781d.zip | |
renamed __init to _inits
Diffstat (limited to 'examples/complex.c')
| -rw-r--r-- | examples/complex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/complex.c b/examples/complex.c index ff97c141..9f12b424 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_inits;
{ // Construct.
carray2f table = carray2f_init(ydim, xdim, 0.f);
c_print(1, "table: ({}, {})\n", carray2_ydim(table), carray2_xdim(table));
- clist_y tableList = clist__init;
+ clist_y tableList = clist_inits;
// Put in some data.
- cmap_g listMap = cmap__init;
+ cmap_g listMap = cmap_inits;
*carray2f_at(&table, y, x) = 3.1415927f; // table[y][x]
clist_y_push_back(&tableList, table);
|
