commit | 6dd8df34fc8d17c2129143faaddf5d8e6f1917f4 | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@google.com> | Thu Feb 16 18:37:46 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 16 18:37:46 2023 +0000 |
tree | dbb5d3cd26cd8d007e322d07f0e838e23cf84de0 | |
parent | 33dc0e2f1a7913aaaeb3953b2698263e5dfb9dcf [diff] |
pw_protobuf: Generate functions to check if messages are comparable pw_protobuf message structs generate an operator==, but this does not necessarily cover all fields if some fields use callbacks. This CL generates functions which specify whether or not all fields of a message are included in its equality operators. Bug: 258149054 Change-Id: I7b5a60ceee895f07db15690cd1d2e451c888f869 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/128734 Reviewed-by: Wyatt Hepler <hepler@google.com> Commit-Queue: Alexei Frolov <frolv@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.