mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Updated version tagging and added about dialog
This commit is contained in:
@@ -13,6 +13,7 @@ namespace PortabilityLayer
|
||||
PascalStr();
|
||||
PascalStr(size_t size, const char *str);
|
||||
explicit PascalStr(const PLPasStr &pstr);
|
||||
explicit PascalStr(const char *str);
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,4 +39,10 @@ namespace PortabilityLayer
|
||||
: UnsafePascalStr<TSize, true>(pstr.Length(), pstr.Chars())
|
||||
{
|
||||
}
|
||||
|
||||
template<size_t TSize>
|
||||
PascalStr<TSize>::PascalStr(const char *str)
|
||||
: UnsafePascalStr<TSize, true>((str == nullptr) ? 0 : strlen(str), str)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user