diff options
author | Vincent Sanders <vincent.sanders@collabora.co.uk> | 2012-09-27 19:11:35 +0100 |
---|---|---|
committer | Vincent Sanders <vincent.sanders@collabora.co.uk> | 2012-09-27 19:11:35 +0100 |
commit | 35f2b9fc8120776bbd5e6f2aa3ddf68ddb46bf33 (patch) | |
tree | fd27c6e4ce2df7ac07fc9ccc7b8594b54e1ab06a /test | |
parent | 1186c51cc953d95ffb0d1029d735ae7ff269d7a2 (diff) | |
download | nsgenbind-35f2b9fc8120776bbd5e6f2aa3ddf68ddb46bf33.tar.gz nsgenbind-35f2b9fc8120776bbd5e6f2aa3ddf68ddb46bf33.tar.bz2 |
fix private data geenration and use
Diffstat (limited to 'test')
-rw-r--r-- | test/data/bindings/htmldocument.bnd | 16 |
1 files changed, 7 insertions, 9 deletions
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 +}; |