mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 09:35:23 -04:00
Fix for webclient
This commit is contained in:
parent
37e42233e7
commit
ac8ad72e63
@ -113,6 +113,8 @@ CC_API int String_IndexOfAt(const cc_string* str, int offset, char c);
|
||||
#define String_LastIndexOf(str, c) String_LastIndexOfAt(str, 0, c)
|
||||
/* Returns last index of the given character in the given string, -1 if not found. */
|
||||
CC_API int String_LastIndexOfAt(const cc_string* str, int offset, char c);
|
||||
/* Returns nth index of the given character in the given string, starting from the right. -1 if not found. */
|
||||
CC_API int String_NthIndexOfFromRight(const cc_string* str, char c, int number);
|
||||
/* Inserts the given character into the given string. Exits process if this fails. */
|
||||
/* e.g. inserting 'd' at offset '1' into "abc" produces "adbc" */
|
||||
CC_API void String_InsertAt(cc_string* str, int offset, char c);
|
||||
|
Loading…
x
Reference in New Issue
Block a user