diff options
author | mustiikhalil <mustii@mmk.one> | 2021-04-24 14:47:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-24 14:47:24 +0300 |
commit | 4ccc52c7a087caf4ea7665a60897aed40a59872e (patch) | |
tree | d00af97366f6dc62a6561077a79b07f0e32b3952 /tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/MutatingBool_generated.swift | |
parent | b82fe07384790cbe977fc1ab6cbe85ce478cac12 (diff) | |
download | flatbuffers-4ccc52c7a087caf4ea7665a60897aed40a59872e.tar.gz flatbuffers-4ccc52c7a087caf4ea7665a60897aed40a59872e.tar.bz2 flatbuffers-4ccc52c7a087caf4ea7665a60897aed40a59872e.zip |
[swift] Implements union strings (#6589)
Diffstat (limited to 'tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/MutatingBool_generated.swift')
-rw-r--r-- | tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/MutatingBool_generated.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/MutatingBool_generated.swift b/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/MutatingBool_generated.swift index 7fc9ed2f..c06f17c1 100644 --- a/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/MutatingBool_generated.swift +++ b/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/MutatingBool_generated.swift @@ -44,6 +44,6 @@ public struct TestMutatingBool: FlatBufferObject { public var mutableB: Property_Mutable? { let o = _accessor.offset(VTOFFSET.b.v); return o == 0 ? nil : Property_Mutable(_accessor.bb, o: o + _accessor.postion) } public static func startTestMutatingBool(_ fbb: inout FlatBufferBuilder) -> UOffset { fbb.startTable(with: 1) } public static func add(b: Property?, _ fbb: inout FlatBufferBuilder) { guard let b = b else { return }; _ = fbb.create(struct: b, position: VTOFFSET.b.p) } - public static func endTestMutatingBool(_ fbb: inout FlatBufferBuilder, start: UOffset) -> Offset<UOffset> { let end = Offset<UOffset>(offset: fbb.endTable(at: start)); return end } + public static func endTestMutatingBool(_ fbb: inout FlatBufferBuilder, start: UOffset) -> Offset { let end = Offset(offset: fbb.endTable(at: start)); return end } } |