mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 04:20:28 +00:00
Define string_is_not_equal
This commit is contained in:
parent
897c1654ab
commit
df1979be12
@ -48,6 +48,11 @@ static INLINE bool string_is_equal(const char *a, const char *b)
|
||||
return (*(const unsigned char*)a - *(const unsigned char*)b) == 0;
|
||||
}
|
||||
|
||||
static INLINE bool string_is_not_equal(const char *a, const char *b)
|
||||
{
|
||||
return !string_is_equal(a, b);
|
||||
}
|
||||
|
||||
#define string_is_not_equal_fast(a, b, size) (memcmp(a, b, size) != 0)
|
||||
#define string_is_equal_fast(a, b, size) (memcmp(a, b, size) == 0)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user