Squashed 'deps/nostalgia/' changes from 4d63a65f..5f10edd3

5f10edd3 [nostalgia] Update developer-handbook oxTrace documentation

git-subtree-dir: deps/nostalgia
git-subtree-split: 5f10edd35fbc3ab4964619e299d5d555ace35a31
This commit is contained in:
Gary Talent 2024-09-17 23:56:31 -05:00
parent ca2d9eb534
commit 9f5f3e26ef

View File

@ -357,8 +357,8 @@ the user almost certainly wants to know about it.
```oxTrace``` and ```oxTracef```: ```oxTrace``` and ```oxTracef```:
```cpp ```cpp
void f(int x, int y) { // x = 9, y = 4 void f(int x, int y) { // x = 9, y = 4
oxTrace("nostalgia::core::sdl::gfx") << "f:" << x << y; // Output: "f: 9 4" oxTrace("nostalgia.core.sdl.gfx") << "f:" << x << y; // Output: "f: 9 4"
oxTracef("nostalgia::core::sdl::gfx", "f: {}, {}", x, y); // Output: "f: 9, 4" oxTracef("nostalgia.core.sdl.gfx", "f: {}, {}", x, y); // Output: "f: 9, 4"
} }
``` ```
@ -636,4 +636,3 @@ ox::Result<ox::Buffer> writeSpritePalette(NostalgiaPalette const&pal) noexcept {
return ox::writeClaw(pal); return ox::writeClaw(pal);
} }
``` ```