diff options
| author | Tyge Løvset <[email protected]> | 2020-09-16 12:27:12 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-09-16 12:27:12 +0200 |
| commit | d1048f2545ac40b8d9b07fb427d418290b7ae829 (patch) | |
| tree | c65f3569e5350945914f078a84ce66198d1ea42c /examples/inits.c | |
| parent | 47b5b5ce53ed4607bf557e2b53a1286bc8041e94 (diff) | |
| download | STC-modified-d1048f2545ac40b8d9b07fb427d418290b7ae829.tar.gz STC-modified-d1048f2545ac40b8d9b07fb427d418290b7ae829.zip | |
Changed iterator API in cset and clist. From i.get->value to *i.get
Diffstat (limited to 'examples/inits.c')
| -rw-r--r-- | examples/inits.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/inits.c b/examples/inits.c index 4d07cb02..7cad8f4e 100644 --- a/examples/inits.c +++ b/examples/inits.c @@ -109,7 +109,7 @@ int main(void) { clist_ip_sort(&pairs2);
c_foreach (i, clist_ip, pairs2)
- printf("(%d %d) ", i.get->value.x, i.get->value.y);
+ printf("(%d %d) ", i.get->x, i.get->y);
puts("");
clist_ip_destroy(&pairs2);
}
\ No newline at end of file |
