swiftfn / Cpp4Susans

Tool to automatically create bindings around C++ for other languages, based on Clang/LLVM
1 stars 0 forks source link

Swift: Use static for duplicate enum values #25

Closed ngocdaothanh closed 5 years ago

ngocdaothanh commented 5 years ago
extension SkYUVAIndex {
  public enum Index: Int32 {
    kY_Index = 0,
    kU_Index = 1,
    kV_Index = 2,
    kA_Index = 3,
    kLast_Index = 3
  }
ngocdaothanh commented 5 years ago

Fixed via https://github.com/swiftfn/Cpp4Susans/commit/6b1f55f938df9ed5185d75e46949f914e97b9da0