From 35f2b9fc8120776bbd5e6f2aa3ddf68ddb46bf33 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 27 Sep 2012 19:11:35 +0100 Subject: fix private data geenration and use --- test/data/bindings/htmldocument.bnd | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'test') diff --git a/test/data/bindings/htmldocument.bnd b/test/data/bindings/htmldocument.bnd index 24699c1..6c470e4 100644 --- a/test/data/bindings/htmldocument.bnd +++ b/test/data/bindings/htmldocument.bnd @@ -54,15 +54,13 @@ static JSBool JSAPI_NATIVE(write, JSContext *cx, uintN argc, jsval *vp) ]]]; binding document { - type js_libdom { - node dom_document; - - }; /* the binding type and any instance specific extra data */ + type js_libdom; /* the binding type */ - extra "struct html_content *htmlc"; /* extra parameters to constructor - * value stored in private context - * structure. - */ + /* parameters to constructor value stored in private + * context structure. + */ + private "dom_document *node"; + private "struct html_content *htmlc"; interface Document; /* Web IDL interface to generate */ -}; \ No newline at end of file +}; -- cgit v1.2.3