🎨 style(shortcuts): annotated inlined helper functions and updated stdio include

This commit is contained in:
ragnarok-clanker 2026-10-27 10:02:55 +01:00
commit 98e3d7fa17
5 changed files with 8 additions and 1 deletions

View file

@ -3,10 +3,12 @@
#include <windows.h>
namespace {
// INLINED
bool Hex(unsigned char value) {
return (value >= '0' && value <= '9') || (value >= 'a' && value <= 'f') || (value >= 'A' && value <= 'F');
}
// INLINED
bool Color(const char* text, const char* end) {
if (*text != '^' || end - text < 6) {
return false;