Add back deprecated getParent methods for non-breaking API change (#775)
Summary: I'm not totally sure what I'm doing so if this needs changes let me know. Closes https://github.com/facebook/yoga/pull/775 Reviewed By: emilsjolander Differential Revision: D8331892 Pulled By: passy fbshipit-source-id: eb1023e666322d2472e4081fd4a4e72a7b43d049
This commit is contained in:
committed by
Facebook Github Bot
parent
b47f0ce41a
commit
526ca42d04
@@ -78,6 +78,8 @@ struct YGNode {
|
||||
// to one YogaTree or nullptr when the YGNode is shared between two or more
|
||||
// YogaTrees.
|
||||
YGNodeRef getOwner() const;
|
||||
// Deprecated, use getOwner() instead.
|
||||
YGNodeRef getParent() const;
|
||||
YGVector getChildren() const;
|
||||
uint32_t getChildrenCount() const;
|
||||
YGNodeRef getChild(uint32_t index) const;
|
||||
|
Reference in New Issue
Block a user