summaryrefslogtreecommitdiff
path: root/include/dom
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2021-07-09 19:23:03 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2021-07-09 19:23:03 +0100
commitade633dd4a93360cb25fbabc05c749a45950b8b9 (patch)
tree5d85b8aca3ba8b21afb21f0dfbc32996e1914882 /include/dom
parent631f016a9ccff344f4dcb0b57e8ef1cf275e175c (diff)
downloadlibdom-ade633dd4a93360cb25fbabc05c749a45950b8b9.tar.gz
libdom-ade633dd4a93360cb25fbabc05c749a45950b8b9.tar.bz2
DOM Walker: Rename client private word parameter.
Diffstat (limited to 'include/dom')
-rw-r--r--include/dom/walk.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/dom/walk.h b/include/dom/walk.h
index 0cd3fd0..5de3546 100644
--- a/include/dom/walk.h
+++ b/include/dom/walk.h
@@ -37,14 +37,14 @@ enum dom_walk_cmd {
* \param[in] stage Whether the \ref node is being entered or left.
* \param[in] node The node being walked. Client must take ref itself.
* \param[in] type The node type.
- * \param[in] ctx Client private data.
+ * \param[in] pw Client private data.
* \return Tree walking client command.
*/
typedef enum dom_walk_cmd (*dom_walk_cb)(
enum dom_walk_stage stage,
dom_node_type type,
dom_node *node,
- void *ctx);
+ void *pw);
/**
@@ -53,13 +53,13 @@ typedef enum dom_walk_cmd (*dom_walk_cb)(
* \param[in] mask Mask of stages to enable callback for.
* \param[in] cb The client callback function.
* \param[in] root Node to start walk from.
- * \param[in] ctx The client's private data.
+ * \param[in] pw The client's private data.
* \return false for early termination of walk, true otherwise.
*/
dom_exception libdom_treewalk(
enum dom_walk_enable mask,
dom_walk_cb cb,
dom_node *root,
- void *ctx);
+ void *pw);
#endif