Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a30186d5 authored by Martin Geisler's avatar Martin Geisler
Browse files

pdl: create ‘Field’ enum to hold field logic

I’ll slowly be moving over functionality to this new enum and its
variants.

While this might seem like a lot of boiler-plate, this simplifies the
code overall since structs like ‘ScalarField’ know exactly what type
they are. So we’ll have fewer redundant match expressions after this.

Test: atest pdl_tests pdl_inline_tests
Change-Id: Ib9147d4899944e74d2e06bd41e3adc832f89e802
parent a2290b48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment