aboutsummaryrefslogtreecommitdiff
path: root/cstring/include/cstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'cstring/include/cstring.h')
-rw-r--r--cstring/include/cstring.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cstring/include/cstring.h b/cstring/include/cstring.h
index c8362ea..b10514f 100644
--- a/cstring/include/cstring.h
+++ b/cstring/include/cstring.h
@@ -73,6 +73,10 @@
73 return str; \ 73 return str; \
74 } \ 74 } \
75 \ 75 \
76 static inline STRING STRING##_concat_cstr(STRING a, const char* b) { \
77 return STRING##_concat(a, STRING##_make(b)); \
78 } \
79 \
76 static inline STRING STRING##_concat_path(STRING a, STRING b) { \ 80 static inline STRING STRING##_concat_path(STRING a, STRING b) { \
77 return STRING##_concat(STRING##_concat(a, STRING##_make("/")), b); \ 81 return STRING##_concat(STRING##_concat(a, STRING##_make("/")), b); \
78 } \ 82 } \