summaryrefslogtreecommitdiff
path: root/src/core/text.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 /src/core/text.h
parentc90f98b7d5bdaecb1c497b155af5347aedb1d617 (diff)
downloadlibdom-a2ffae698d4c12d9457c62b79eddd4342e2e213c.tar.gz
libdom-a2ffae698d4c12d9457c62b79eddd4342e2e213c.tar.bz2
Constify vtables.
Diffstat (limited to 'src/core/text.h')
-rw-r--r--src/core/text.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/text.h b/src/core/text.h
index 26424ce..3f5739b 100644
--- a/src/core/text.h
+++ b/src/core/text.h
@@ -66,7 +66,7 @@ dom_exception _dom_text_copy(dom_node_internal *old, dom_node_internal **copy);
__dom_text_destroy, \
_dom_text_copy
-extern struct dom_text_vtable text_vtable;
+extern const struct dom_text_vtable text_vtable;
dom_exception _dom_text_copy_internal(dom_text *old, dom_text *new);
#define dom_text_copy_internal(o, n) \