diff options
author | Vincent Sanders <vince@kyllikki.org> | 2012-10-08 00:27:36 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2012-10-08 00:27:36 +0100 |
commit | d3b66100f5fc6459d9d466e20bf0b2054d617b85 (patch) | |
tree | cbbcc65363d46b789f884f1fe72559fa4bd68daa /test | |
parent | f072d31de069e378af37a15d1e1433e5a9e15275 (diff) | |
download | nsgenbind-d3b66100f5fc6459d9d466e20bf0b2054d617b85.tar.gz nsgenbind-d3b66100f5fc6459d9d466e20bf0b2054d617b85.tar.bz2 |
split out operator body generation
Diffstat (limited to 'test')
-rw-r--r-- | test/data/bindings/htmldocument.bnd | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/data/bindings/htmldocument.bnd b/test/data/bindings/htmldocument.bnd index 8d35df9..9b47433 100644 --- a/test/data/bindings/htmldocument.bnd +++ b/test/data/bindings/htmldocument.bnd @@ -37,10 +37,7 @@ operation write %{ if (document->htmlc->parser != NULL) { dom_hubbub_parser_insert_chunk(document->htmlc->parser, (uint8_t *)txt, length); } - JSAPI_SET_RVAL(cx, vp, JSVAL_VOID); - - return JS_TRUE; - %} +%} binding document { type js_libdom; /* the binding type */ |