commit | 2b54ee66f66566e4cfe1f622dfcb8cc81c3ba729 | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@google.com> | Thu Apr 29 14:58:21 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 17 19:15:46 2021 +0000 |
tree | 1b21595b1d120e4435e85c8f4f89dec62ba37eb1 | |
parent | 2d737bc0760fefa1ac972f54f013b1444e3060d0 [diff] |
pw_rpc: Generate aliases for nanopb client call types Nanopb client calls are templated and can have long type names. For example, the client call type for the nanopb EchoService.Echo method is NanopbClientCall<UnaryResponseHandler<pw_rpc_EchoMessage>> This updates the generated RPC client code to provide aliases for the client call types of each method within the service client. The above type can now be replaced with EchoServiceClient::EchoCall which is much more legible. Change-Id: I184e34b2b52b120b83227be82c4a411dcd4941ec Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/42929 Commit-Queue: Alexei Frolov <frolv@google.com> Reviewed-by: Keir Mierle <keir@google.com> Reviewed-by: Wyatt Hepler <hepler@google.com>
See our website: http://pigweed.dev