You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -438,6 +439,7 @@ void CodepointToUTF8RetPtr(const char **ret, int *codepoint, int *utf8Size){*re
438
439
voidTextCopyRetPtr(int*ret, char*dst, constchar*src){*ret=TextCopy(dst, src);} // Copy one string to another, returns bytes copied
439
440
voidTextIsEqualRetPtr(bool*ret, constchar*text1, constchar*text2){*ret=TextIsEqual(text1, text2);} // Check if two text string are equal
440
441
voidTextLengthRetPtr(unsigned int*ret, constchar*text){*ret=TextLength(text);} // Get text length, checks for '\0' ending
442
+
voidTextFormatRetPtr(constchar**ret, constchar*text, void*args){*ret=TextFormat(text, args);} // Text formatting with variables (sprintf() style)
441
443
voidTextSubtextRetPtr(constchar**ret, constchar*text, int*position, int*length){*ret=TextSubtext(text, *position, *length);} // Get a piece of a text string
442
444
voidTextReplaceRetPtr(char**ret, constchar*text, constchar*replace, constchar*by){*ret=TextReplace(text, replace, by);} // Replace text string (WARNING: memory must be freed!)
443
445
voidTextInsertRetPtr(char**ret, constchar*text, constchar*insert, int*position){*ret=TextInsert(text, insert, *position);} // Insert text in a position (WARNING: memory must be freed!)
0 commit comments