| 751 | } |
| 752 | |
| 753 | void emitLayouts() { |
| 754 | out_ << "#pragma pack(push, 1)\n"; |
| 755 | for (const auto& decl : file_.structs) { |
| 756 | out_ << "struct " << decl.name << "Layout {\n"; |
| 757 | for (const auto& field : decl.fields) |
| 758 | out_ << " " << field.type << " " << field.name << ";\n"; |
| 759 | out_ << "};\n\n"; |
| 760 | } |
| 761 | out_ << "#pragma pack(pop)\n" |
| 762 | "} // namespace detail\n\n"; |
| 763 | } |
| 764 | |
| 765 | void emitIPCRequest() { |
| 766 | out_ << "class IPCRequest {\n" |
nothing calls this directly
no outgoing calls
no test coverage detected