Skip to content
Permalink
Browse files

Use int64Value

  • Loading branch information
qvacua committed Feb 10, 2020
1 parent 8b8bafb commit fc35d322b9061bf5f59bf995bb25290076d380a7
Showing with 19 additions and 19 deletions.
  1. +19 −19 RxPack/RxNeovimApi.generated.swift
@@ -51,7 +51,7 @@ extension RxNeovimApi {
]

func transform(_ value: Value) throws -> Int {
guard let result = ((value.integerValue == nil ? nil : Int(value.integerValue!))) else {
guard let result = ((value.int64Value == nil ? nil : Int(value.int64Value!))) else {
throw RxNeovimApi.Error.conversion(type: Int.self)
}

@@ -213,7 +213,7 @@ extension RxNeovimApi {
]

func transform(_ value: Value) throws -> Int {
guard let result = ((value.integerValue == nil ? nil : Int(value.integerValue!))) else {
guard let result = ((value.int64Value == nil ? nil : Int(value.int64Value!))) else {
throw RxNeovimApi.Error.conversion(type: Int.self)
}

@@ -275,7 +275,7 @@ extension RxNeovimApi {
]

func transform(_ value: Value) throws -> Int {
guard let result = ((value.integerValue == nil ? nil : Int(value.integerValue!))) else {
guard let result = ((value.int64Value == nil ? nil : Int(value.int64Value!))) else {
throw RxNeovimApi.Error.conversion(type: Int.self)
}

@@ -649,7 +649,7 @@ extension RxNeovimApi {
]

func transform(_ value: Value) throws -> [Int] {
guard let result = (value.arrayValue?.compactMap({ v in (v.integerValue == nil ? nil : Int(v.integerValue!)) })) else {
guard let result = (value.arrayValue?.compactMap({ v in (v.int64Value == nil ? nil : Int(v.int64Value!)) })) else {
throw RxNeovimApi.Error.conversion(type: [Int].self)
}

@@ -689,7 +689,7 @@ extension RxNeovimApi {
]

func transform(_ value: Value) throws -> Int {
guard let result = ((value.integerValue == nil ? nil : Int(value.integerValue!))) else {
guard let result = ((value.int64Value == nil ? nil : Int(value.int64Value!))) else {
throw RxNeovimApi.Error.conversion(type: Int.self)
}

@@ -783,7 +783,7 @@ extension RxNeovimApi {
]

func transform(_ value: Value) throws -> Int {
guard let result = ((value.integerValue == nil ? nil : Int(value.integerValue!))) else {
guard let result = ((value.int64Value == nil ? nil : Int(value.int64Value!))) else {
throw RxNeovimApi.Error.conversion(type: Int.self)
}

@@ -955,7 +955,7 @@ extension RxNeovimApi {
]

func transform(_ value: Value) throws -> Int {
guard let result = ((value.integerValue == nil ? nil : Int(value.integerValue!))) else {
guard let result = ((value.int64Value == nil ? nil : Int(value.int64Value!))) else {
throw RxNeovimApi.Error.conversion(type: Int.self)
}

@@ -1270,7 +1270,7 @@ extension RxNeovimApi {
]

func transform(_ value: Value) throws -> Int {
guard let result = ((value.integerValue == nil ? nil : Int(value.integerValue!))) else {
guard let result = ((value.int64Value == nil ? nil : Int(value.int64Value!))) else {
throw RxNeovimApi.Error.conversion(type: Int.self)
}

@@ -1526,7 +1526,7 @@ extension RxNeovimApi {
]

func transform(_ value: Value) throws -> Int {
guard let result = ((value.integerValue == nil ? nil : Int(value.integerValue!))) else {
guard let result = ((value.int64Value == nil ? nil : Int(value.int64Value!))) else {
throw RxNeovimApi.Error.conversion(type: Int.self)
}

@@ -2235,7 +2235,7 @@ extension RxNeovimApi {
]

func transform(_ value: Value) throws -> Int {
guard let result = ((value.integerValue == nil ? nil : Int(value.integerValue!))) else {
guard let result = ((value.int64Value == nil ? nil : Int(value.int64Value!))) else {
throw RxNeovimApi.Error.conversion(type: Int.self)
}

@@ -2400,7 +2400,7 @@ extension RxNeovimApi {
]

func transform(_ value: Value) throws -> Int {
guard let result = ((value.integerValue == nil ? nil : Int(value.integerValue!))) else {
guard let result = ((value.int64Value == nil ? nil : Int(value.int64Value!))) else {
throw RxNeovimApi.Error.conversion(type: Int.self)
}

@@ -3001,7 +3001,7 @@ extension RxNeovimApi {
]

func transform(_ value: Value) throws -> [Int] {
guard let result = (value.arrayValue?.compactMap({ v in (v.integerValue == nil ? nil : Int(v.integerValue!)) })) else {
guard let result = (value.arrayValue?.compactMap({ v in (v.int64Value == nil ? nil : Int(v.int64Value!)) })) else {
throw RxNeovimApi.Error.conversion(type: [Int].self)
}

@@ -3055,7 +3055,7 @@ extension RxNeovimApi {
]

func transform(_ value: Value) throws -> Int {
guard let result = ((value.integerValue == nil ? nil : Int(value.integerValue!))) else {
guard let result = ((value.int64Value == nil ? nil : Int(value.int64Value!))) else {
throw RxNeovimApi.Error.conversion(type: Int.self)
}

@@ -3109,7 +3109,7 @@ extension RxNeovimApi {
]

func transform(_ value: Value) throws -> Int {
guard let result = ((value.integerValue == nil ? nil : Int(value.integerValue!))) else {
guard let result = ((value.int64Value == nil ? nil : Int(value.int64Value!))) else {
throw RxNeovimApi.Error.conversion(type: Int.self)
}

@@ -3303,7 +3303,7 @@ extension RxNeovimApi {
]

func transform(_ value: Value) throws -> [Int] {
guard let result = (value.arrayValue?.compactMap({ v in (v.integerValue == nil ? nil : Int(v.integerValue!)) })) else {
guard let result = (value.arrayValue?.compactMap({ v in (v.int64Value == nil ? nil : Int(v.int64Value!)) })) else {
throw RxNeovimApi.Error.conversion(type: [Int].self)
}

@@ -3363,7 +3363,7 @@ extension RxNeovimApi {
]

func transform(_ value: Value) throws -> Int {
guard let result = ((value.integerValue == nil ? nil : Int(value.integerValue!))) else {
guard let result = ((value.int64Value == nil ? nil : Int(value.int64Value!))) else {
throw RxNeovimApi.Error.conversion(type: Int.self)
}

@@ -3504,7 +3504,7 @@ extension RxNeovimApi.Buffer {
return nil
}

guard let handle = (try? unpack(data))?.value.integerValue else {
guard let handle = (try? unpack(data))?.value.int64Value else {
return nil
}

@@ -3523,7 +3523,7 @@ extension RxNeovimApi.Window {
return nil
}

guard let handle = (try? unpack(data))?.value.integerValue else {
guard let handle = (try? unpack(data))?.value.int64Value else {
return nil
}

@@ -3542,7 +3542,7 @@ extension RxNeovimApi.Tabpage {
return nil
}

guard let handle = (try? unpack(data))?.value.integerValue else {
guard let handle = (try? unpack(data))?.value.int64Value else {
return nil
}

0 comments on commit fc35d32

Please sign in to comment.
You can’t perform that action at this time.