diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-07-31 21:49:45 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-07-31 21:49:45 +0100 |
commit | 02ebfefd0fc3d81b59cc15f34033210a6344f430 (patch) | |
tree | 22bb97027149ae2336e561b6f345bcf10593ff0d /src/nsgenbind.c | |
parent | 4b723a410bc1a3355d401b95ac390f377b5d77b8 (diff) | |
download | nsgenbind-02ebfefd0fc3d81b59cc15f34033210a6344f430.tar.gz nsgenbind-02ebfefd0fc3d81b59cc15f34033210a6344f430.tar.bz2 |
Generate makefile fragment and add header guards
Diffstat (limited to 'src/nsgenbind.c')
-rw-r--r-- | src/nsgenbind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nsgenbind.c b/src/nsgenbind.c index b3191ba..65feedd 100644 --- a/src/nsgenbind.c +++ b/src/nsgenbind.c @@ -207,7 +207,7 @@ int main(int argc, char **argv) /* debug dump of web idl AST */ webidl_dump_ast(webidl_root); - /* generate index of interfaces in idl sorted by inheritance */ + /* generate map of WebIDL interfaces sorted by inheritance */ res = interface_map_new(genbind_root, webidl_root, &interface_map); if (res != 0) { return 5; @@ -220,7 +220,7 @@ int main(int argc, char **argv) /* generate binding */ switch (bindingtype) { case BINDINGTYPE_DUK_LIBDOM: - res = duk_libdom_output(genbind_root, webidl_root, interface_map); + res = duk_libdom_output(interface_map); break; default: |