From ba282cfe193719f4fe030ebdcd80519ae19ffca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Mon, 5 Oct 2020 13:19:50 +0200 Subject: Mark Object instances const --- ListItem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ListItem.h') diff --git a/ListItem.h b/ListItem.h index 8e76ff7e..387e8e21 100644 --- a/ListItem.h +++ b/ListItem.h @@ -16,7 +16,7 @@ typedef struct ListItem_ { bool moving; } ListItem; -extern ObjectClass ListItem_class; +extern const ObjectClass ListItem_class; ListItem* ListItem_new(const char* value, int key); -- cgit v1.2.3