Renaming, I don't like this

This commit is contained in:
krzosa
2025-12-29 09:13:38 +01:00
parent 10fb5d77a1
commit 1ae20a46b2
6 changed files with 81 additions and 35 deletions

View File

@@ -427,6 +427,14 @@ API String16 SkipWhitespace(String16 *string) {
return begin;
}
API bool Chop(String16 *string, String16 ending) {
if (EndsWith(*string, ending)) {
*string = Chop(*string, ending.len);
return true;
}
return false;
}
// chop this - 324
API String16 ChopNumberEx(String16 *string) {
String16 col = {};