Update to v106r52 release.

byuu says:

I stand corrected, I managed to create and even larger diff than ever.
This one weighs in at 309KiB `>__>`

I'll have to create a changelog later, I'm too tired right now to go
through all of that.
This commit is contained in:
Tim Allen
2018-07-25 22:24:03 +10:00
parent f1a4576ac4
commit 22bd4b9277
171 changed files with 1725 additions and 1403 deletions

View File

@@ -4,7 +4,7 @@ namespace nall {
//todo: these functions are not binary-safe
auto string::match(string_view source) const -> bool {
auto string::match(view<string> source) const -> bool {
const char* s = data();
const char* p = source.data();
@@ -28,7 +28,7 @@ auto string::match(string_view source) const -> bool {
return !*p;
}
auto string::imatch(string_view source) const -> bool {
auto string::imatch(view<string> source) const -> bool {
static auto chrlower = [](char c) -> char {
return (c >= 'A' && c <= 'Z') ? c + ('a' - 'A') : c;
};
@@ -68,7 +68,7 @@ auto tokenize(const char* s, const char* p) -> bool {
return !*p;
}
auto tokenize(string_vector& list, const char* s, const char* p) -> bool {
auto tokenize(vector<string>& list, const char* s, const char* p) -> bool {
while(*s) {
if(*p == '*') {
const char* b = s;