Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Float and Int type support for iOS modules (#42125)
Summary: Pull Request resolved: #42125 This diff changes how numeric types are generated for Objective-C native modules. Before this diff: |Codegen Type|Objective-C Type| | -- | -- | |number|double| |Float|double| |Double|double| |Int32|double| After this diff: |Codegen Type|Objective-C Type| | -- | -- | |number|double| |Float|**float**| |Double|double| |Int32|**NSInteger**| Changelog: [iOS][Breaking] - Codegen: mapping for numeric types is changed for Objective-C native modules. `Float` -> `float`; `Int32` -> `NSInteger`. Reviewed By: cipolleschi Differential Revision: D52479442 fbshipit-source-id: 1b2e101a9593a75c7c19b0da3a01a0e592a35ba5
- Loading branch information