feat: pl_string.h add to upper function
All checks were successful
Tests / Ubuntu (push) Successful in 9s
All checks were successful
Tests / Ubuntu (push) Successful in 9s
This commit is contained in:
parent
89654fffd1
commit
67b53e95b2
@ -15,8 +15,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// library version (format XYYZZ)
|
// library version (format XYYZZ)
|
||||||
#define PL_STRING_VERSION "1.0.0"
|
#define PL_STRING_VERSION "1.1.0"
|
||||||
#define PL_STRING_VERSION_NUM 10000
|
#define PL_STRING_VERSION_NUM 10100
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Index of this file:
|
Index of this file:
|
||||||
@ -60,6 +60,7 @@ bool pl_str_concatenate (const char* pcStr0, const char* pcStr1, char*
|
|||||||
bool pl_str_equal (const char* pcStr0, const char* pcStr1);
|
bool pl_str_equal (const char* pcStr0, const char* pcStr1);
|
||||||
bool pl_str_contains (const char* pcStr, const char* pcSub);
|
bool pl_str_contains (const char* pcStr, const char* pcSub);
|
||||||
int pl_text_char_from_utf8(uint32_t* puOutChars, const char* pcInText, const char* pcTextEnd);
|
int pl_text_char_from_utf8(uint32_t* puOutChars, const char* pcInText, const char* pcTextEnd);
|
||||||
|
static inline char pl_str_to_upper (char c) { return (c >= 'a' && c <= 'z') ? c &= ~32 : c; }
|
||||||
|
|
||||||
#endif // PL_STRING_H
|
#endif // PL_STRING_H
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user