mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-02-04 00:49:08 +00:00
chore(str): simplify and add more tests
This commit is contained in:
parent
ee6e381c6e
commit
884d9d5718
2 changed files with 216 additions and 151 deletions
|
|
@ -15,11 +15,11 @@ char* SStrChrR(char* string, char search);
|
|||
|
||||
const char* SStrChrR(const char* string, char search);
|
||||
|
||||
int32_t SStrCmp(const char* string1, const char* string2, size_t maxchars);
|
||||
int32_t SStrCmp(const char* string1, const char* string2, size_t maxchars = STORM_MAX_STR);
|
||||
|
||||
int32_t SStrCmpI(const char* string1, const char* string2, size_t maxchars);
|
||||
int32_t SStrCmpI(const char* string1, const char* string2, size_t maxchars = STORM_MAX_STR);
|
||||
|
||||
size_t SStrCopy(char* dest, const char* source, size_t destsize);
|
||||
size_t SStrCopy(char* dest, const char* source, size_t destsize = STORM_MAX_STR);
|
||||
|
||||
char* SStrDupA(const char* string, const char* filename, uint32_t linenumber);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue