mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-16 10:39:50 +08:00
Summary: @public Removes `YGNodeGetPrintFunc`, and encapsulates node printing within `YGNode`. This is necessary for allowing for context-aware callback functions, which will ultimately allow for removal of weak global JNI references. On a side node, the printing logic does not seem to be well thought through: print functions print as a side effect to whatever output they choose. Printing that uses callbacks is printing to different output streams or strings, though. We need to consolidate Yoga debugging, and make it all more stringent. Reviewed By: SidharthGuglani Differential Revision: D14131024 fbshipit-source-id: 68704682dab3e7dfba61930bb03003d7d4723b80