summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-05-07 11:50:29 +0200
committerTyge Løvset <[email protected]>2021-05-07 11:50:29 +0200
commitd0ac1846d2f18366590f5fbdabf04fe11182906d (patch)
tree406d2f22ee4a34a953d53c378f383550ae249210
parentb2558e4523a3a5d48c214e2625df46b71ecb1060 (diff)
downloadSTC-modified-d0ac1846d2f18366590f5fbdabf04fe11182906d.tar.gz
STC-modified-d0ac1846d2f18366590f5fbdabf04fe11182906d.zip
Forgot to remove.
-rw-r--r--stc/cstr.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/stc/cstr.h b/stc/cstr.h
index 90afbc0e..1d486217 100644
--- a/stc/cstr.h
+++ b/stc/cstr.h
@@ -167,10 +167,6 @@ cstr_iends_with(cstr s, const char* needle) {
}
/* cvec/cmap adaption functions: */
-#define c_rawstr_compare(rx, ry) strcmp(*(rx), *(ry))
-#define c_rawstr_equals(rx, ry) (strcmp(*(rx), *(ry)) == 0)
-#define c_rawstr_hash(rp, none) c_default_hash(*(rp), strlen(*(rp)))
-
#define cstr_toraw(xp) ((xp)->str)
#define cstr_compare_ref(xp, yp) strcmp((xp)->str, (yp)->str)
#define cstr_equals_ref(xp, yp) (strcmp((xp)->str, (yp)->str) == 0)