REVIEWED: TextJoin(), convert const char ** to char**

It generates multiple issues: https://c-faq.com/ansi/constmismatch.html
This commit is contained in:
Ray 2025-01-11 23:38:21 +01:00
parent 8e450e4446
commit e227371265
2 changed files with 2 additions and 2 deletions

View file

@ -1510,7 +1510,7 @@ RLAPI const char *TextFormat(const char *text, ...);
RLAPI const char *TextSubtext(const char *text, int position, int length); // Get a piece of a text string
RLAPI char *TextReplace(const char *text, const char *replace, const char *by); // Replace text string (WARNING: memory must be freed!)
RLAPI char *TextInsert(const char *text, const char *insert, int position); // Insert text in a position (WARNING: memory must be freed!)
RLAPI char *TextJoin(const char **textList, int count, const char *delimiter); // Join text strings with delimiter
RLAPI char *TextJoin(char **textList, int count, const char *delimiter); // Join text strings with delimiter
RLAPI char **TextSplit(const char *text, char delimiter, int *count); // Split text into multiple strings
RLAPI void TextAppend(char *text, const char *append, int *position); // Append text at specific position and move cursor!
RLAPI int TextFindIndex(const char *text, const char *find); // Find first text occurrence within a string