summaryrefslogtreecommitdiff
path: root/src/nsgenbind.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nsgenbind.c')
-rw-r--r--src/nsgenbind.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nsgenbind.c b/src/nsgenbind.c
index 636c22b..d81f30f 100644
--- a/src/nsgenbind.c
+++ b/src/nsgenbind.c
@@ -202,10 +202,10 @@ int main(int argc, char **argv)
}
/* generate output for each binding */
- res = genbind_node_for_each_type(genbind_root,
- GENBIND_NODE_TYPE_BINDING,
- generate_binding,
- genbind_root);
+ res = genbind_node_foreach_type(genbind_root,
+ GENBIND_NODE_TYPE_BINDING,
+ generate_binding,
+ genbind_root);
if (res != 0) {
fprintf(stderr, "Error: output failed with code %d\n", res);
if (options->outfilename != NULL) {