diff options
author | mustiikhalil <26250654+mustiikhalil@users.noreply.github.com> | 2023-01-07 01:40:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-06 16:40:40 -0800 |
commit | 4d6a7aa8b7c7b72dea8c6d6e6a6a8210fda753b9 (patch) | |
tree | 1a000fa1fbccf571fd672914549bf653dcd1b7bb /grpc | |
parent | e61b00359b1809bfdb1b217048318745a091456f (diff) | |
download | flatbuffers-4d6a7aa8b7c7b72dea8c6d6e6a6a8210fda753b9.tar.gz flatbuffers-4d6a7aa8b7c7b72dea8c6d6e6a6a8210fda753b9.tar.bz2 flatbuffers-4d6a7aa8b7c7b72dea8c6d6e6a6a8210fda753b9.zip |
Removes Dead code & regenerate code (#7744)
Formats the swift project
Update Sample files
Update docc documentation
Updates swift docs in the website
Updates code for Wasm
Diffstat (limited to 'grpc')
3 files changed, 2 insertions, 6 deletions
diff --git a/grpc/examples/swift/Greeter/Sources/Model/greeter_generated.swift b/grpc/examples/swift/Greeter/Sources/Model/greeter_generated.swift index cd0bc233..4097defc 100644 --- a/grpc/examples/swift/Greeter/Sources/Model/greeter_generated.swift +++ b/grpc/examples/swift/Greeter/Sources/Model/greeter_generated.swift @@ -10,8 +10,6 @@ public struct models_HelloReply: FlatBufferObject, Verifiable { public var __buffer: ByteBuffer! { return _accessor.bb } private var _accessor: Table - public static func getRootAsHelloReply(bb: ByteBuffer) -> models_HelloReply { return models_HelloReply(Table(bb: bb, position: Int32(bb.read(def: UOffset.self, position: bb.reader)) + Int32(bb.reader))) } - private init(_ t: Table) { _accessor = t } public init(_ bb: ByteBuffer, o: Int32) { _accessor = Table(bb: bb, position: o) } @@ -59,8 +57,6 @@ public struct models_HelloRequest: FlatBufferObject, Verifiable { public var __buffer: ByteBuffer! { return _accessor.bb } private var _accessor: Table - public static func getRootAsHelloRequest(bb: ByteBuffer) -> models_HelloRequest { return models_HelloRequest(Table(bb: bb, position: Int32(bb.read(def: UOffset.self, position: bb.reader)) + Int32(bb.reader))) } - private init(_ t: Table) { _accessor = t } public init(_ bb: ByteBuffer, o: Int32) { _accessor = Table(bb: bb, position: o) } diff --git a/grpc/examples/swift/Greeter/Sources/client/main.swift b/grpc/examples/swift/Greeter/Sources/client/main.swift index 168b0713..a4b2a675 100644 --- a/grpc/examples/swift/Greeter/Sources/client/main.swift +++ b/grpc/examples/swift/Greeter/Sources/client/main.swift @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google Inc. All rights reserved. + * Copyright 2023 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/grpc/examples/swift/Greeter/Sources/server/main.swift b/grpc/examples/swift/Greeter/Sources/server/main.swift index fca623f5..62286c47 100644 --- a/grpc/examples/swift/Greeter/Sources/server/main.swift +++ b/grpc/examples/swift/Greeter/Sources/server/main.swift @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google Inc. All rights reserved. + * Copyright 2023 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. |