-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vm/ffi] Support missing info in marshaller
When ABI-specific integers are introduced, their mappings can be partial. We need to account for this in the marshaller. This CL refactors the marshaller API to take an char** error return parameter and changes the return type to a pointer (nullable) rather than a reference. Note that with only this CL we can not generate errors yet, because all native types are still complete. TEST=runtime/vm/compiler/ffi/native_type_vm_test.cc TEST=tests/ffi* Bug: #42816 Change-Id: Id97e73795c357e129e6280e8c5b528d18072c14d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/221632 Commit-Queue: Daco Harkes <[email protected]> Reviewed-by: Ryan Macnak <[email protected]>
- Loading branch information
Showing
7 changed files
with
225 additions
and
93 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
Oops, something went wrong.