MCPcopy Create free account
hub / github.com/N64Recomp/N64Recomp / isalnum_nolocale

Function isalnum_nolocale

include/recompiler/context.h:619–621  ·  view source on GitHub ↗

Locale-independent ASCII-only version of isalnum.

Source from the content-addressed store, hash-verified

617
618 // Locale-independent ASCII-only version of isalnum.
619 inline bool isalnum_nolocale(char c) {
620 return isalpha_nolocale(c) || (c >= '0' && c <= '9');
621 }
622
623 inline bool validate_mod_id(std::string_view str) {
624 // Disallow empty ids.

Callers 1

validate_mod_idFunction · 0.85

Calls 1

isalpha_nolocaleFunction · 0.85

Tested by

no test coverage detected