From 2c3c9e1e71775cc568a3ac3d3f2ab7667193badb Mon Sep 17 00:00:00 2001 From: LibretroAdmin Date: Wed, 27 Jul 2022 15:51:16 +0200 Subject: [PATCH] Add note to string_list_join_concat --- libretro-common/include/lists/string_list.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretro-common/include/lists/string_list.h b/libretro-common/include/lists/string_list.h index 82767713b8..3f1bcf00fd 100644 --- a/libretro-common/include/lists/string_list.h +++ b/libretro-common/include/lists/string_list.h @@ -164,6 +164,8 @@ void string_list_free(struct string_list *list); * * A string list will be joined/concatenated as a * string to @buffer, delimited by @delim. + * + * NOTE: @buffer must be NULL-terminated. */ void string_list_join_concat(char *buffer, size_t size, const struct string_list *list, const char *sep);