tristanlabelle / swift-winrt

A Swift bindings generator for WinRT APIs
MIT License
15 stars 1 forks source link

Make structs and enum conform to Sendable #143

Closed tristanlabelle closed 2 months ago

tristanlabelle commented 2 months ago

By definition of WinRT enums and structs, the transitive closure of their fields can only contain primitive types, enums, structs, strings, guids and IReference of value types, all of whose projections are Sendable.