summaryrefslogtreecommitdiff
path: root/include/dom/core/node.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2021-02-02 12:31:20 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2021-02-02 12:31:49 +0000
commita2ffae698d4c12d9457c62b79eddd4342e2e213c (patch)
tree16c81f644924bcdd180f31a8e01bf7375ccccb43 /include/dom/core/node.h
parentc90f98b7d5bdaecb1c497b155af5347aedb1d617 (diff)
downloadlibdom-a2ffae698d4c12d9457c62b79eddd4342e2e213c.tar.gz
libdom-a2ffae698d4c12d9457c62b79eddd4342e2e213c.tar.bz2
Constify vtables.
Diffstat (limited to 'include/dom/core/node.h')
-rw-r--r--include/dom/core/node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dom/core/node.h b/include/dom/core/node.h
index 9600e6d..5058c78 100644
--- a/include/dom/core/node.h
+++ b/include/dom/core/node.h
@@ -77,7 +77,7 @@ typedef struct dom_node_internal dom_node_internal;
* DOM node type
*/
typedef struct dom_node {
- void *vtable;
+ const void *vtable;
uint32_t refcnt;
} dom_node;