Case macro for the different kinds of vl-maybe-cstrength structures.
This is an fty sum-type case macro, typically introduced by defflexsum or deftagsum. It allows you to safely check the type of a vl-maybe-cstrength structure, or to split into cases based on its type.
In its short form,
(vl-maybe-cstrength-case x :none)
can be used to determine whether
In its longer form,
(vl-maybe-cstrength-case x :none ... :some ...)
It is also possible to consolidate ``uninteresting'' cases using
For convenience, the case macro automatically binds the fields of