aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/string-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/string-utils.h')
-rw-r--r--src/string-utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/string-utils.h b/src/string-utils.h
index 64112df..4eee958 100644
--- a/src/string-utils.h
+++ b/src/string-utils.h
@@ -44,6 +44,8 @@ chrdup(gchar chr)
* Append null-terminated str2 to non-null-terminated
* str1 of length str1_size.
* The result is not null-terminated.
+ * This is a very efficient implementation and well
+ * suited for appending lots of small strings often.
*/
static inline void
append(gchar *&str1, gsize str1_size, const gchar *str2)
@@ -56,6 +58,8 @@ append(gchar *&str1, gsize str1_size, const gchar *str2)
/**
* Append str2 to str1 (both null-terminated).
+ * This is a very efficient implementation and well
+ * suited for appending lots of small strings often.
*/
static inline void
append(gchar *&str1, const gchar *str2)