-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support {static,dynamic}_ref_cast without ::javaobject (#17)
Summary: Treat `static_ref_cast<JFoo>` as equivalent to `static_ref_cast<JniType<JFoo>>`, which is equivalent to `static_ref_cast<JFoo::javaobject>`. As a side-effect, this also allows `JMap<JFoo, JFoo>`, since the only thing blocking that before was a cast. Pull Request resolved: #17 Test Plan: CI Reviewed By: cjhopman Differential Revision: D18121225 Pulled By: dreiss fbshipit-source-id: 81d0d56967dcb8d907d3a3cec4a52e110743853c
- Loading branch information
1 parent
54a993d
commit d1a61fe
Showing
6 changed files
with
19 additions
and
19 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