mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Cleanup.
This commit is contained in:
@@ -304,6 +304,11 @@ namespace bx
|
||||
return m_line;
|
||||
}
|
||||
|
||||
inline int32_t strLen(const StringView& _str, int32_t _max)
|
||||
{
|
||||
return min(_str.getLength(), _max);
|
||||
}
|
||||
|
||||
inline bool hasPrefix(const StringView& _str, const StringView& _prefix)
|
||||
{
|
||||
const int32_t len = _prefix.getLength();
|
||||
|
||||
Reference in New Issue
Block a user