mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
EOL fix
This commit is contained in:
@@ -1,20 +1,20 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "PLCore.h"
|
#include "PLCore.h"
|
||||||
#include "PLPasStr.h"
|
#include "PLPasStr.h"
|
||||||
|
|
||||||
namespace StrCmp
|
namespace StrCmp
|
||||||
{
|
{
|
||||||
int CompareCaseInsensitive(const PLPasStr &string1, const PLPasStr &string2);
|
int CompareCaseInsensitive(const PLPasStr &string1, const PLPasStr &string2);
|
||||||
int Compare(const PLPasStr &string1, const PLPasStr &string2);
|
int Compare(const PLPasStr &string1, const PLPasStr &string2);
|
||||||
|
|
||||||
inline bool EqualCaseInsensitive(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)
|
inline bool Equal(const PLPasStr &string1, const PLPasStr &string2)
|
||||||
{
|
{
|
||||||
return Compare(string1, string2) == 0;
|
return Compare(string1, string2) == 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user