bring mg_strdup() back

This commit is contained in:
Sergio R. Caprile committed 2024-05-31 17:45:53 -03:00
1 parent a4e0225c69
commit ab75bfa6e7
11 files changed
+46 -16

No files matched your search

+1
View File
@@ -16,6 +16,7 @@ struct mg_str mg_str_n(const char *s, size_t n);
int mg_casecmp(const char *s1, const char *s2);
int mg_strcmp(const struct mg_str str1, const struct mg_str str2);
int mg_strcasecmp(const struct mg_str str1, const struct mg_str str2);
struct mg_str mg_strdup(const struct mg_str s);
bool mg_match(struct mg_str str, struct mg_str pattern, struct mg_str *caps);
bool mg_span(struct mg_str s, struct mg_str *a, struct mg_str *b, char delim);