remove forward declarations

reorder module to remove need for forward function declarations.
remove unecessary and confusing parameter macros
This commit is contained in:
Vincent Sanders 2020-04-26 11:19:26 +01:00
parent 309fcd6d42
commit b577de7c5b
2 changed files with 2229 additions and 2103 deletions

View File

@ -369,8 +369,20 @@ nserror box_handle_scrollbars(struct content *c, struct box *box,
bool box_vscrollbar_present(const struct box *box);
bool box_hscrollbar_present(const struct box *box);
/**
* Construct a box tree from an xml tree and stylesheets.
*
* \param n xml tree
* \param c content of type CONTENT_HTML to construct box tree in
* \param cb callback to report conversion completion
* \return netsurf error code indicating status of call
*/
nserror dom_to_box(struct dom_node *n, struct html_content *c,
box_construct_complete_cb cb, void **box_conversion_context);
/**
* aborts any ongoing box construction
*/
nserror cancel_dom_to_box(void *box_conversion_context);
bool box_normalise_block(

File diff suppressed because it is too large Load Diff