diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-05 13:19:50 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-10-07 13:01:53 +0200 |
commit | ba282cfe193719f4fe030ebdcd80519ae19ffca2 (patch) | |
tree | cef89de747bb4312f7d5903f19f73ee04503e5ec /ListItem.c | |
parent | 08d85e61435e43ade490ecef16437f93c0d88bed (diff) |
Mark Object instances const
Diffstat (limited to 'ListItem.c')
-rw-r--r-- | ListItem.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ static void ListItem_display(Object* cast, RichString* out) { RichString_append(out, CRT_colors[DEFAULT_COLOR], this->value/*buffer*/); } -ObjectClass ListItem_class = { +const ObjectClass ListItem_class = { .display = ListItem_display, .delete = ListItem_delete, .compare = ListItem_compare |