| 889 | } |
| 890 | |
| 891 | void emitInterface(const Interface& iface) { |
| 892 | out_ << "namespace " << iface.name << " {\n" |
| 893 | << "inline constexpr EIPCInterface kInterface = EIPCInterface::" << iface.name << ";\n\n"; |
| 894 | for (const auto& method : iface.methods) emitReq(iface, method); |
| 895 | for (const auto& method : iface.methods) emitResp(method); |
| 896 | out_ << "} // namespace " << iface.name << "\n\n"; |
| 897 | } |
| 898 | |
| 899 | void emitReq(const Interface& iface, const Method& method) { |
| 900 | const std::vector<Field> fields = fieldsFor(method, Dir::In, false); |
nothing calls this directly
no outgoing calls
no test coverage detected