diff options
author | Vincent Sanders <vince@kyllikki.org> | 2013-12-21 22:29:42 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-05-16 14:38:56 +0100 |
commit | c25cc0e348a1abf0ee0719cf30515b3cc07f1848 (patch) | |
tree | 08458682835c7d4177ad785f423467e64e51fcc0 /src/nsgenbind.c | |
parent | abec5defbb553588dce1c317b74570061705f6d0 (diff) | |
download | nsgenbind-c25cc0e348a1abf0ee0719cf30515b3cc07f1848.tar.gz nsgenbind-c25cc0e348a1abf0ee0719cf30515b3cc07f1848.tar.bz2 |
move flag indicating jsapi object for an interface should be a global from api definition to the interface flags
Diffstat (limited to 'src/nsgenbind.c')
-rw-r--r-- | src/nsgenbind.c | 8 |
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) { |