Skip to content

Commit

Permalink
[pigeon] Separates message call code generation into separate methods…
Browse files Browse the repository at this point in the history
… in the SwiftGenerator (flutter#5959)

Separates message call code generation into separate methods in the SwiftGenerator for flutter#134777. The ProxyApi generator uses similar code to the HostApi and FlutterApi, so this makes the code reusable.

From suggestion: flutter/packages#5544 (comment)
  • Loading branch information
bparrishMines committed Mar 5, 2024
1 parent 5fed047 commit 4a9c4be
Show file tree
Hide file tree
Showing 4 changed files with 300 additions and 244 deletions.
4 changes: 4 additions & 0 deletions packages/pigeon/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 17.1.2

* [swift] Separates message call code generation into separate methods.

## 17.1.1

* Removes heap allocation in generated C++ code.
Expand Down
2 changes: 1 addition & 1 deletion packages/pigeon/lib/generator_tools.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import 'ast.dart';
/// The current version of pigeon.
///
/// This must match the version in pubspec.yaml.
const String pigeonVersion = '17.1.1';
const String pigeonVersion = '17.1.2';

/// Read all the content from [stdin] to a String.
String readStdin() {
Expand Down
Loading

0 comments on commit 4a9c4be

Please sign in to comment.