aboutsummaryrefslogtreecommitdiff
path: root/src/extlib.h
diff options
context:
space:
mode:
authoraxtloss <axtlos@getcryst.al>2024-07-15 03:24:14 +0200
committeraxtloss <axtlos@getcryst.al>2024-07-15 03:24:14 +0200
commit0366952bae967a1b69c510f8e633c0567ccab4a9 (patch)
tree7b5f7da55c5c0f96898c8f2a6b9e5feb4317f67a /src/extlib.h
parent6c83f09b7acb879097d57418a0b139300a11262e (diff)
downloadextlib-0366952bae967a1b69c510f8e633c0567ccab4a9.tar.gz
extlib-0366952bae967a1b69c510f8e633c0567ccab4a9.tar.bz2
add function join_str
Diffstat (limited to 'src/extlib.h')
-rw-r--r--src/extlib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/extlib.h b/src/extlib.h
index 80c79d0..b12ddbf 100644
--- a/src/extlib.h
+++ b/src/extlib.h
@@ -62,5 +62,7 @@ char *strupr(char *s);
char *trim (char *s, int *rem_front, int *rem_back);
/// Match string s for old and replace it with string replace
- char *replace_str (char *s, char *old, char *replace);
+char *replace_str (char *s, char *old, char *replace);
+/// Join an array of strings into one string
+char *join_str (char **s, size_t len, char delim);