From a2ffae698d4c12d9457c62b79eddd4342e2e213c Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 2 Feb 2021 12:31:20 +0000 Subject: Constify vtables. --- include/dom/core/node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/dom/core/node.h') 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; -- cgit v1.2.3