summaryrefslogtreecommitdiff
path: root/src/dom/watcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dom/watcher.h')
-rw-r--r--src/dom/watcher.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/dom/watcher.h b/src/dom/watcher.h
index 0883fd2..2cfa26e 100644
--- a/src/dom/watcher.h
+++ b/src/dom/watcher.h
@@ -8,8 +8,8 @@
* Interface to DOM mutation watching.
*/
-#ifndef nslayout_dom_watcher_h_
-#define nslayout_dom_watcher_h_
+#ifndef nsl_dom_watcher_h_
+#define nsl_dom_watcher_h_
struct dom_document;
struct nsl_dom_watcher;
@@ -34,9 +34,9 @@ enum nsl_dom_watcher_type {
* \param[in] node The target node. (Caller yields ownership.)
* \param[in] node_type The type of node.
* \param[in] pw The dom watcher owner's private data.
- * \return NSLAYOUT_OK on success, appropriate error otherwise.
+ * \return NSL_OK on success, appropriate error otherwise.
*/
-typedef nslayout_error (*nsl_dom_watcher_cb)(
+typedef nsl_error (*nsl_dom_watcher_cb)(
enum nsl_dom_watcher_type type,
dom_event_target *node,
dom_node_type node_type,
@@ -50,9 +50,9 @@ typedef nslayout_error (*nsl_dom_watcher_cb)(
* \param[in] document DOM document to create watcher for.
* \param[in] watcher_cb Function to call when dom modification happens.
* \param[in] pw Private data passed back to `watcher_cb`.
- * \return NSLAYOUT_OK on success, appropriate error otherwise.
+ * \return NSL_OK on success, appropriate error otherwise.
*/
-nslayout_error nsl_dom_watcher_create(
+nsl_error nsl_dom_watcher_create(
struct nsl_dom_watcher **watcher_out,
dom_document *document,
nsl_dom_watcher_cb watcher_cb,
@@ -63,9 +63,9 @@ nslayout_error nsl_dom_watcher_create(
* Destroy a document change DOM change watcher.
*
* \param[in] watcher DOM change watcher to destroy.
- * \return NSLAYOUT_OK on success, appropriate error otherwise.
+ * \return NSL_OK on success, appropriate error otherwise.
*/
-nslayout_error nsl_dom_watcher_destroy(
+nsl_error nsl_dom_watcher_destroy(
struct nsl_dom_watcher *watcher);
#endif