commit | 7f4759a3877ac31bb0b0b2799a759d13382d9bba | [log] [tgz] |
---|---|---|
author | Aaron Green <aarongreen@google.com> | Wed Sep 18 21:47:57 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 18 21:47:57 2024 +0000 |
tree | d5522004ec65310749aaa743484817cd62edb432 | |
parent | 25c8b842ecfa6d530b785d61c1fab105b352bcdd [diff] |
pw_containers: Make item type deduction generic This CL moves generic intrusive container and item functions to a standalone file, and renames them to avoid mentioning lists. This makes them available to be reused by other intrusive containers, such as the forthcoming intrusive maps. Affected functions include the item type deduction checks for and the assertions for containers and items before insertion or destruction. Change-Id: I5f6db3fe1a0fb5904349bbe021fa16cf62538721 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/235105 Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Reviewed-by: Wyatt Hepler <hepler@google.com> Commit-Queue: Aaron Green <aarongreen@google.com> Reviewed-by: Taylor Cramer <cramertj@google.com> Docs-Not-Needed: Aaron Green <aarongreen@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/.