diff options
| author | Tyge Løvset <[email protected]> | 2020-09-16 18:54:46 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-09-16 18:54:46 +0200 |
| commit | 63e3080a20b60469f494748b92ff7e6ed3164b48 (patch) | |
| tree | 2d197376d2ba20c310d4109dd395fbb67bf5da58 /examples | |
| parent | d1048f2545ac40b8d9b07fb427d418290b7ae829 (diff) | |
| download | STC-modified-63e3080a20b60469f494748b92ff7e6ed3164b48.tar.gz STC-modified-63e3080a20b60469f494748b92ff7e6ed3164b48.zip | |
Added some missing templates in cmap.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/complex.c | 2 | ||||
| -rw-r--r-- | examples/replace.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/complex.c b/examples/complex.c index e0bc5200..0c3e5c38 100644 --- a/examples/complex.c +++ b/examples/complex.c @@ -33,5 +33,5 @@ int main() { printf("value (%d, %d) is: %f\n", y, x, *carray2f_at(&table, y, x));
}
- c_destroy(cmap_s, &myMap); // free up everything!
+ c_dtor(cmap_s, &myMap); // free up everything!
}
\ No newline at end of file diff --git a/examples/replace.c b/examples/replace.c index bcc4952e..c68a8940 100644 --- a/examples/replace.c +++ b/examples/replace.c @@ -29,5 +29,5 @@ int main () cstr_replace(&s, 22, 1, "!!!"); // "this is a short phrase!!!" (5)
printf("(5) %s\n", s.str);
- c_destroy(cstr, &s, &m);
+ c_dtor(cstr, &s, &m); // destroy
}
|
