From d3b66100f5fc6459d9d466e20bf0b2054d617b85 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 8 Oct 2012 00:27:36 +0100 Subject: split out operator body generation --- test/data/bindings/htmldocument.bnd | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'test') 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 */ -- cgit v1.2.3