Skip to content

Commit

Permalink
add Sendable to generic RGBA<T> and VA<T> types
Browse files Browse the repository at this point in the history
  • Loading branch information
tayloraswift committed Jan 20, 2022
1 parent 24866cf commit 73fc517
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sources/png/common.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ extension General
}
}
}
extension General.Storage:Sendable where I:Sendable
{
}

extension General
{
Expand Down
6 changes: 6 additions & 0 deletions sources/png/targets.swift
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,12 @@ extension PNG
var a:T
}
}
extension PNG.RGBA:Sendable where T:Sendable
{
}
extension PNG.VA:Sendable where T:Sendable
{
}
extension PNG.RGBA
{
/// init PNG.RGBA.init(_:)
Expand Down

0 comments on commit 73fc517

Please sign in to comment.