diff options
author | Vincent Sanders <vincent.sanders@collabora.co.uk> | 2012-09-06 19:07:15 +0100 |
---|---|---|
committer | Vincent Sanders <vincent.sanders@collabora.co.uk> | 2012-09-06 19:07:15 +0100 |
commit | 3db9b84cd1a23f4718260a6b2487dcedbb7fc526 (patch) | |
tree | 9cc3e7e204d07659333439c33c5dacee81c1ba3d /test | |
parent | 24f1407f1f30993ee8dd35d2f52409bcba839a8f (diff) | |
download | nsgenbind-3db9b84cd1a23f4718260a6b2487dcedbb7fc526.tar.gz nsgenbind-3db9b84cd1a23f4718260a6b2487dcedbb7fc526.tar.bz2 |
move towards having a binding stanza
Diffstat (limited to 'test')
-rw-r--r-- | test/data/bindings/htmldocument.bnd | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/test/data/bindings/htmldocument.bnd b/test/data/bindings/htmldocument.bnd index 55a8ac7..24699c1 100644 --- a/test/data/bindings/htmldocument.bnd +++ b/test/data/bindings/htmldocument.bnd @@ -51,6 +51,18 @@ static JSBool JSAPI_NATIVE(write, JSContext *cx, uintN argc, jsval *vp) return JS_TRUE; } -]]] +]]]; -interface "Document"; +binding document { + type js_libdom { + node dom_document; + + }; /* the binding type and any instance specific extra data */ + + extra "struct html_content *htmlc"; /* extra parameters to constructor + * value stored in private context + * structure. + */ + + interface Document; /* Web IDL interface to generate */ +};
\ No newline at end of file |