diff options
author | Vincent Sanders <vince@kyllikki.org> | 2013-02-19 23:27:10 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2013-02-19 23:27:10 +0000 |
commit | 081cf689356ef9138b67da2c687883b9c3354a63 (patch) | |
tree | c482500d137ff527279e15f1167ac3d2022fb013 /src/core/document.h | |
parent | f7ae4017ff50be5ef4eb3047ebbff4820550d5ed (diff) | |
download | libdom-081cf689356ef9138b67da2c687883b9c3354a63.tar.gz libdom-081cf689356ef9138b67da2c687883b9c3354a63.tar.bz2 |
add context for default action function
Diffstat (limited to 'src/core/document.h')
-rw-r--r-- | src/core/document.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/document.h b/src/core/document.h index 89635ff..de49cf2 100644 --- a/src/core/document.h +++ b/src/core/document.h @@ -72,11 +72,13 @@ struct dom_document { /* Create a DOM document */ dom_exception _dom_document_create(dom_events_default_action_fetcher daf, - dom_document **doc); + void *daf_ctx, + dom_document **doc); /* Initialise the document */ dom_exception _dom_document_initialise(dom_document *doc, - dom_events_default_action_fetcher daf); + dom_events_default_action_fetcher daf, + void *daf_ctx); /* Finalise the document */ bool _dom_document_finalise(dom_document *doc); |