From 3db9b84cd1a23f4718260a6b2487dcedbb7fc526 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 6 Sep 2012 19:07:15 +0100 Subject: move towards having a binding stanza --- test/data/bindings/htmldocument.bnd | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'test/data/bindings/htmldocument.bnd') 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 -- cgit v1.2.3