Working on cmd bind
This commit is contained in:
@@ -27,6 +27,12 @@ int stringCompare(const char_t *str1, const char_t *str2) {
|
||||
return strcmp(str1, str2);
|
||||
}
|
||||
|
||||
int stringCompareInsensitive(const char_t *str1, const char_t *str2) {
|
||||
assertNotNull(str1, "str1 must not be NULL");
|
||||
assertNotNull(str2, "str2 must not be NULL");
|
||||
return strcasecmp(str1, str2);
|
||||
}
|
||||
|
||||
void stringTrim(char_t *str) {
|
||||
assertNotNull(str, "str must not be NULL");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user