From ddb2d27f4206905f2ed2ac7d61b74ce88d68401c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 19 Feb 2013 23:27:10 +0000 Subject: add context for default action function --- src/html/html_document.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/html/html_document.h') diff --git a/src/html/html_document.h b/src/html/html_document.h index ecc6236..67250f5 100644 --- a/src/html/html_document.h +++ b/src/html/html_document.h @@ -33,10 +33,13 @@ struct dom_html_document { /* Create a HTMLDocument */ dom_exception _dom_html_document_create( dom_events_default_action_fetcher daf, + void *daf_ctx, dom_html_document **doc); /* Initialise a HTMLDocument */ -dom_exception _dom_html_document_initialise(dom_html_document *doc, - dom_events_default_action_fetcher daf); +dom_exception _dom_html_document_initialise( + dom_html_document *doc, + dom_events_default_action_fetcher daf, + void *daf_ctx); /* Finalise a HTMLDocument */ bool _dom_html_document_finalise(dom_html_document *doc); -- cgit v1.2.3