Avoid mapping optionals as owned pointers
authorMatt Corallo <git@bluematt.me>
Wed, 22 Sep 2021 02:46:10 +0000 (02:46 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 23 Sep 2021 18:35:11 +0000 (18:35 +0000)
Using an owned pointer to map an optional turned out to be quite
annoying to avoid downstream memory issues. Instead, we use the
much more explicit `COption_TypeZ` enums everywhere.

This also fixes Option-al mapping of enums.


No differences found