summaryrefslogtreecommitdiffhomepage
path: root/c_lib/cstring.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-03-19 09:42:54 +0100
committerGitHub <[email protected]>2020-03-19 09:42:54 +0100
commitffef6a1c3bb46256e40e5613653abf480e7ee73c (patch)
treea55af5c73a43b012dc45a5b2f177985148809007 /c_lib/cstring.h
parentb1f9a5d615507600d190bcb1c2b8f33a13e46da5 (diff)
downloadSTC-modified-ffef6a1c3bb46256e40e5613653abf480e7ee73c.tar.gz
STC-modified-ffef6a1c3bb46256e40e5613653abf480e7ee73c.zip
Added sort
Changed compare function API
Diffstat (limited to 'c_lib/cstring.h')
-rw-r--r--c_lib/cstring.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/c_lib/cstring.h b/c_lib/cstring.h
index 08e6c4c6..e40721fc 100644
--- a/c_lib/cstring.h
+++ b/c_lib/cstring.h
@@ -238,7 +238,6 @@ static inline char* cstring_splitNext(const char* delimiters) {
#define cstring_getRaw(x) ((x).str)
static inline uint32_t cstring_hashRaw(const char** str, size_t sz_ignored) { return c_defaultHash(*str, strlen(*str)); }
-static inline int cstring_compareRaw(CString* self, const char** str, size_t sz_ignored) { return strcmp(self->str, *str); }
#endif