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

Method isIntegral

tools/ipc_codegen/ipc_codegen.cpp:1027–1033  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1025 }
1026
1027 static bool isIntegral(std::string_view type) {
1028 static const std::unordered_set<std::string_view> types = {
1029 "bool", "byte", "uint8", "int8", "uint16", "int16",
1030 "uint32", "int32", "uint64", "int64", "size_t",
1031 };
1032 return types.contains(type);
1033 }
1034
1035 static std::string lengthExpr(const Field& field,
1036 const std::vector<Field>& sideFields,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected