mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-22 21:08:53 +00:00
@@ -25,7 +25,7 @@ let package = Package(
|
|||||||
],
|
],
|
||||||
dependencies: [
|
dependencies: [
|
||||||
.package(path: "../../../../swift"),
|
.package(path: "../../../../swift"),
|
||||||
.package(url: "https://github.com/grpc/grpc-swift.git", .exact("1.0.0-alpha.24")),
|
.package(url: "https://github.com/grpc/grpc-swift.git", from: "1.0.0"),
|
||||||
],
|
],
|
||||||
targets: [
|
targets: [
|
||||||
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
|
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
|
||||||
|
|||||||
@@ -127,6 +127,7 @@ class SwiftGenerator : public BaseGenerator {
|
|||||||
"unowned",
|
"unowned",
|
||||||
"weak",
|
"weak",
|
||||||
"willSet",
|
"willSet",
|
||||||
|
"Void",
|
||||||
nullptr,
|
nullptr,
|
||||||
};
|
};
|
||||||
for (auto kw = keywords; *kw; kw++) keywords_.insert(*kw);
|
for (auto kw = keywords; *kw; kw++) keywords_.insert(*kw);
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ let package = Package(
|
|||||||
],
|
],
|
||||||
dependencies: [
|
dependencies: [
|
||||||
.package(path: "../../swift/"),
|
.package(path: "../../swift/"),
|
||||||
.package(url: "https://github.com/grpc/grpc-swift.git", .exact("1.0.0-alpha.24")),
|
.package(url: "https://github.com/grpc/grpc-swift.git", from: "1.0.0"),
|
||||||
],
|
],
|
||||||
targets: [
|
targets: [
|
||||||
.target(name: "SwiftFlatBuffers"),
|
.target(name: "SwiftFlatBuffers"),
|
||||||
|
|||||||
Reference in New Issue
Block a user