Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace dim and pos arrays (facebook#39397)
Summary: Pull Request resolved: facebook#39397 X-link: facebook/yoga#1373 These are used to get the position origin edge from axis (same as leading edge), and dimension from axis. Replace them with function usage, so that we can call into them from other files than `CalculateLayout.cpp`, and so that we can later use scoped enums not implicitly convertible to ints. Reviewed By: rshest Differential Revision: D49134566 fbshipit-source-id: 5c852178effd25df6f4c74f18115c3b2889b486b
- Loading branch information