diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2012-11-14 02:11:01 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2012-11-14 02:11:01 +0000 |
commit | 2bea506f837c9a1e9c12c448eb206e067770819c (patch) | |
tree | d771414576685aef5505350db3b3697d5930162c /javascript/jsapi/node.bnd | |
parent | 9acba6cbcc6dc807b93ad34b8e8b4e430ee7d5b0 (diff) | |
download | netsurf-2bea506f837c9a1e9c12c448eb206e067770819c.tar.gz netsurf-2bea506f837c9a1e9c12c448eb206e067770819c.tar.bz2 |
add Node interface binding just to get the prototype
Diffstat (limited to 'javascript/jsapi/node.bnd')
-rw-r--r-- | javascript/jsapi/node.bnd | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/javascript/jsapi/node.bnd b/javascript/jsapi/node.bnd new file mode 100644 index 000000000..bcf0ef7b3 --- /dev/null +++ b/javascript/jsapi/node.bnd @@ -0,0 +1,34 @@ +/* Binding to generate Node interface + * + * Copyright 2012 Vincent Sanders <vince@netsurf-browser.org> + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * Released under the terms of the MIT License, + * http://www.opensource.org/licenses/mit-license + */ + +webidlfile "dom.idl"; + +hdrcomment "Copyright 2012 Vincent Sanders <vince@netsurf-browser.org>"; +hdrcomment "This file is part of NetSurf, http://www.netsurf-browser.org/"; +hdrcomment "Released under the terms of the MIT License,"; +hdrcomment " http://www.opensource.org/licenses/mit-license"; + +preamble %{ + +#include <dom/dom.h> + +#include "utils/config.h" +#include "utils/log.h" + +#include "javascript/jsapi.h" +#include "javascript/jsapi/binding.h" + +%} + +binding node { + type js_libdom; /* the binding type */ + + interface Node; /* Web IDL interface to generate */ +} |