🎨 style(shortcuts): annotated inlined helper functions and updated stdio include
This commit is contained in:
parent
779dd40d2e
commit
98e3d7fa17
5 changed files with 8 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue