Skip to content

[macos] Adjust for embedding API type name change #257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

stuartmorgan-g
Copy link
Collaborator

flutter/engine#7567 renamed the type of the
result for embedding API calls. Rather than force a Flutter upgrade by
using the new type name, temporarily use 'auto' for the type (with a
TODO to change it later, since auto is arguably less readable here).

This requires converting the file to ObjC++, which required a few
explicit casts in places that were previously being silently recast.

flutter/engine#7567 renamed the type of the
result for embedding API calls. Rather than force a Flutter upgrade by
using the new type name, temporarily use 'auto' for the type (with a
TODO to change it later, since auto is arguably less readable here).

This requires converting the file to ObjC++, which required a few
explicit casts in places that were previously being silently recast.
@stuartmorgan-g
Copy link
Collaborator Author

I thought I would need this for the GLFW embedder as well, but it turns out that's already using auto for this type.

@stuartmorgan-g stuartmorgan-g merged commit 2106e63 into google:master Jan 30, 2019
@stuartmorgan-g stuartmorgan-g deleted the macos-result-type-flexibility branch February 6, 2019 18:42
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants