diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-18 19:22:30 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-10-28 20:49:11 +0100 |
commit | 03b773b701e8d2502449396214751131abd0dda5 (patch) | |
tree | 395f2a9102b5d782a0387b87b2ac3e4bfe3065f4 /ListItem.h | |
parent | 6375df49c9ceabc87066bd53eadf1ababb11c902 (diff) |
Small ListItem update
Diffstat (limited to 'ListItem.h')
-rw-r--r-- | ListItem.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |