gen crash dumps

This commit is contained in:
Nikita Smith
2026-06-02 12:09:54 -07:00
committed by Ryan Fleury
parent 3ec7ae6746
commit 5a3741a264
9 changed files with 46 additions and 16 deletions
+12
View File
@@ -395,6 +395,18 @@ str8_match_wildcard(String8 string, String8 pattern, StringMatchFlags flags)
return matched;
}
internal B32
str8_starts_with(String8 string, String8 expected_prefix)
{
return str8_match(str8_prefix(string, expected_prefix.size), expected_prefix, 0);
}
internal B32
str8_starts_withi(String8 string, String8 expected_prefix)
{
return str8_match(str8_prefix(string, expected_prefix.size), expected_prefix, StringMatchFlag_CaseInsensitive);
}
internal U64
str8_find_needle(String8 string, U64 start_pos, String8 needle, StringMatchFlags flags)
{