This commit is contained in:
elasota
2021-03-08 19:07:06 -05:00
parent d70a5b3bfc
commit 6931b3f505

View File

@@ -1,20 +1,20 @@
#pragma once
#include "PLCore.h"
#include "PLPasStr.h"
#pragma once
#include "PLCore.h"
#include "PLPasStr.h"
namespace StrCmp
{
{
int CompareCaseInsensitive(const PLPasStr &string1, const PLPasStr &string2);
int Compare(const PLPasStr &string1, const PLPasStr &string2);
inline bool EqualCaseInsensitive(const PLPasStr &string1, const PLPasStr &string2)
{
return CompareCaseInsensitive(string1, string2) == 0;
{
return CompareCaseInsensitive(string1, string2) == 0;
}
inline bool Equal(const PLPasStr &string1, const PLPasStr &string2)
{
return Compare(string1, string2) == 0;
}
{
return Compare(string1, string2) == 0;
}
}