Squashed 'deps/nostalgia/' changes from 3ccadba2..cb304ecf

cb304ecf [applib] Cleanup
ea173777 [ox/std] Make StringViewCR honest
c424bde0 [nostalgia] Style cleanup
ee7d5c6d [nostalgia/gfx] Cleanup
99247cee [nostalgia/gfx/test] Cleanup
7b8ddc18 [nostalgia/gfx] Consolidate implementations into single files, remove unnecessary function exports
a6814030 [studio/applib] Cleanup
9937a010 [turbine] Cleanup
abcf2adc [nostalgia/gfx] Cleanup
05f90235 [nostalgia/gfx] Cleanup
5ba0bcf9 [turbine] Consolidate some files that didn't have sensible distinctions

git-subtree-dir: deps/nostalgia
git-subtree-split: cb304ecf2852db37a7aa7ca3bfc9d28877d5c1bd
This commit is contained in:
2025-05-17 17:48:31 -05:00
parent bf686590af
commit a4a00c99d0
45 changed files with 768 additions and 967 deletions

View File

@ -60,7 +60,7 @@ class StringView: public detail::BaseStringView {
};
using StringViewCR = const StringView&;
using StringViewCR = StringView const&;
constexpr auto operator==(StringViewCR s1, StringViewCR s2) noexcept {
if (s2.len() != s1.len()) {
@ -89,7 +89,7 @@ constexpr auto operator<=>(StringViewCR s1, StringViewCR s2) noexcept {
}
}
constexpr auto write(Writer_c auto &writer, ox::StringViewCR sv) noexcept {
constexpr auto write(Writer_c auto &writer, StringViewCR sv) noexcept {
return writer.write(sv.data(), sv.bytes());
}
@ -100,7 +100,7 @@ constexpr auto toStdStringView(StringViewCR sv) noexcept {
#endif
constexpr ox::Result<int> strToInt(ox::StringViewCR str) noexcept {
constexpr ox::Result<int> strToInt(StringViewCR str) noexcept {
OX_ALLOW_UNSAFE_BUFFERS_BEGIN
int total = 0;
int multiplier = 1;