MCPcopy Create free account
hub / github.com/OpenSteam001/OpenSteamTool / isIntegral

Method isIntegral

tools/ipc_codegen/ipc_codegen.cpp:518–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516 }
517
518 static bool isIntegral(std::string_view type) {
519 static const std::unordered_set<std::string_view> types = {
520 "bool", "byte", "uint8", "int8", "uint16", "int16",
521 "uint32", "int32", "uint64", "int64", "size_t",
522 };
523 return types.contains(type);
524 }
525
526 static const EnumDecl* findEnum(const File& file, std::string_view name) {
527 for (const auto& decl : file.enums) if (decl.name == name) return &decl;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected