mshtml: Implement HTMLElement_get_children.
Jacek Caban
jacek at codeweavers.com
Sun Jun 24 14:23:23 CDT 2007
Hi,
> + elem_vector buf = {NULL, 0, 8};
> +
> + TRACE("(%p)->(%p)\n", This, p);
> +
> + buf.buf = mshtml_alloc(buf.size*sizeof(HTMLElement**));
elem_vector is a self-resizable table, but in this case you know the size while creating it from nsIDOMNodeList::GetLength. I'd suggest to use it here during creation of buf to avoid useless memory reallocations.
Thanks,
Jacek
More information about the wine-devel
mailing list