-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ffigen] Fix block inheritance issue (#1433)
- Loading branch information
1 parent
4a18bf2
commit 3af07fd
Showing
29 changed files
with
466 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
pkgs/ffigen/test/native_objc_test/block_inherit_config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: BlockInheritTestObjCLibrary | ||
description: 'Tests inheritance rules for blocks.' | ||
language: objc | ||
output: | ||
bindings: 'block_inherit_bindings.dart' | ||
objc-bindings: 'block_inherit_bindings.m' | ||
exclude-all-by-default: true | ||
objc-interfaces: | ||
include: | ||
- Mammal | ||
- Platypus | ||
- BlockInheritTestBase | ||
- BlockInheritTestChild | ||
typedefs: | ||
include: | ||
- ReturnMammal | ||
- ReturnPlatypus | ||
- AcceptMammal | ||
- AcceptPlatypus | ||
headers: | ||
entry-points: | ||
- 'block_inherit_test.m' | ||
preamble: | | ||
// ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field |
Oops, something went wrong.