static void HTMLBodyElement_destructor(HTMLDOMNode *iface) { HTMLBodyElement *This = impl_from_HTMLDOMNode(iface); nsIDOMHTMLBodyElement_Release(This->nsbody); HTMLElement_destructor(&This->textcont.element.node); }
static void HTMLBodyElement_unlink(HTMLDOMNode *iface) { HTMLBodyElement *This = impl_from_HTMLDOMNode(iface); if(This->nsbody) { nsIDOMHTMLBodyElement *nsbody = This->nsbody; This->nsbody = NULL; nsIDOMHTMLBodyElement_Release(nsbody); } }