summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2013-12-07 14:28:19 +0000
committerVincent Sanders <vince@kyllikki.org>2014-05-16 14:38:56 +0100
commit5755930ae93b6305b40620fff0e90bc2e4c64b46 (patch)
treebc2fefbc7c5a7fd405edb6dc24f27daaf4ec6dc4 /doc
parent1e603c7225117c26e793a455a30b59d6d7551d5e (diff)
downloadnsgenbind-5755930ae93b6305b40620fff0e90bc2e4c64b46.tar.gz
nsgenbind-5755930ae93b6305b40620fff0e90bc2e4c64b46.tar.bz2
move binding type from explicit statement into declaration.
As a side effect the binding declaration changes and looses its (unused) name/identifier
Diffstat (limited to 'doc')
-rw-r--r--doc/example.bnd10
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/example.bnd b/doc/example.bnd
index 690eace..6003f0d 100644
--- a/doc/example.bnd
+++ b/doc/example.bnd
@@ -53,17 +53,15 @@ epilogue %{
#include "dom.bnd"
-/* this block describes the binding to be generated
+/* This block describes the binding to be generated
*
* Depending on the type of binding being generated multiple blocks
* may be allowed.
*
- * Note: the js_libdom (javascript to libdom) binding as currently
- * implemented only allows for a single binding per file, this may
- * be improved in future.
+ * Note: the jsapi_libdom (spidermonkey javascript to libdom) binding
+ * is the only type currently implemented
*/
-binding example {
- type js_libdom; /* the binding type */
+binding jsapi_libdom {
interface Navigator; /* The WebIDL interface to generate a binding for */