diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-03-08 10:05:35 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@hornquist.se> | 2019-03-08 10:05:35 +0100 |
commit | 0dff6c5d179aeb9e1ba3fc5f4dd679987e342036 (patch) | |
tree | c43ef6a0ef0fe6f684928a226a0f439975b20e01 /graphs.c | |
parent | Work on recuring event stream. (diff) | |
download | calp-0dff6c5d179aeb9e1ba3fc5f4dd679987e342036.tar.gz calp-0dff6c5d179aeb9e1ba3fc5f4dd679987e342036.tar.xz |
Remove C vector library.
Diffstat (limited to '')
-rw-r--r-- | graphs.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -49,10 +49,7 @@ int helper_vcomponent (vcomponent* root, FILE* f) { fputs("}", f); } - vcomponent* child; - for (size_t i = 0; i < root->components.length; i++) { - child = GET(VECT(vcomponent))(&root->components, i); - if (child == NULL) continue; + FOR(LLIST, vcomponent, child, &root->components) { fprintf(f, "\"%p\" -> \"%p\"\n", root, child); helper_vcomponent(child, f); } |