diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2021-02-02 12:31:20 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2021-02-02 12:31:49 +0000 |
commit | a2ffae698d4c12d9457c62b79eddd4342e2e213c (patch) | |
tree | 16c81f644924bcdd180f31a8e01bf7375ccccb43 /include/dom/core | |
parent | c90f98b7d5bdaecb1c497b155af5347aedb1d617 (diff) | |
download | libdom-a2ffae698d4c12d9457c62b79eddd4342e2e213c.tar.gz libdom-a2ffae698d4c12d9457c62b79eddd4342e2e213c.tar.bz2 |
Constify vtables.
Diffstat (limited to 'include/dom/core')
-rw-r--r-- | include/dom/core/node.h | 2 |
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; |