react-native/ReactCommon
Lukas Wöhrl bdd9aed909 Move configuration to new YGConfig and pass them down to CalculateLayout
Summary:
Move configuration to new ```YGConfig``` and pass them down to CalculateLayout. See #418 .

Adds ```YGConfigNew()``` + ```YGConfigFree```, and changed ```YGSetExperimentalFeatureEnabled``` to use the config.

New function for calculation is ```YGNodeCalculateLayoutWithConfig```.
Closes https://github.com/facebook/yoga/pull/432

Reviewed By: astreet

Differential Revision: D4611359

Pulled By: emilsjolander

fbshipit-source-id: a1332f0e1b21cec02129dd021ee57408449e10b0
2017-03-01 09:31:06 -08:00
..
cxxreact Tweak CxxMessageQueue to work with unique_ptr 2017-02-28 14:15:56 -08:00
inspector Apply auto-formatter for BUCK files in fbandroid. 2017-02-27 14:04:56 -08:00
jschelpers Apply auto-formatter for BUCK files in fbandroid. 2017-02-27 14:04:56 -08:00
microprofiler Apply auto-formatter for BUCK files in fbandroid. 2017-02-27 14:04:56 -08:00
yoga Move configuration to new YGConfig and pass them down to CalculateLayout 2017-03-01 09:31:06 -08:00