summaryrefslogtreecommitdiffstats
path: root/ListItem.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-18 19:22:30 +0200
committercgzones <cgzones@googlemail.com>2020-10-28 20:49:11 +0100
commit03b773b701e8d2502449396214751131abd0dda5 (patch)
tree395f2a9102b5d782a0387b87b2ac3e4bfe3065f4 /ListItem.h
parent6375df49c9ceabc87066bd53eadf1ababb11c902 (diff)
Small ListItem update
Diffstat (limited to 'ListItem.h')
-rw-r--r--ListItem.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ListItem.h b/ListItem.h
index 5bbcda14..87a7c073 100644
--- a/ListItem.h
+++ b/ListItem.h
@@ -24,8 +24,8 @@ ListItem* ListItem_new(const char* value, int key);
void ListItem_append(ListItem* this, const char* text);
-const char* ListItem_getRef(ListItem* this);
-
-long ListItem_compare(const void* cast1, const void* cast2);
+static inline const char* ListItem_getRef(const ListItem* this) {
+ return this->value;
+}
#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy