commit | 896a661ddd4a989eb3b877c00a7d3abfd13bcbd2 | [log] [tgz] |
---|---|---|
author | Marijn Suijten <marijns95@gmail.com> | Fri Jan 19 00:50:34 2024 +0100 |
committer | Dan Albert <danalbert@google.com> | Tue Apr 02 22:36:54 2024 +0000 |
tree | 76f8e540b77559013fc84554e2986186afd8ea7e | |
parent | 2d0d712f516df494eb397d3f5784fa901d348a66 [diff] |
surface_control: Add ABI type information to `enum`s By declaring the ABI of `enum` types, the `enum` type can now be used in place of a raw and untyped integer in function parameters and structure fields, self-documenting what the possible values are. Test: treehugger Change-Id: I6b9cf8b36b16e23c0e992f8155452bd194e6e1ad Signed-off-by: Marijn Suijten <marijns95@gmail.com>