Remove C++ form of YGNodeSetChildren (#37013)

Summary:
X-link: https://github.com/facebook/react-native/pull/37013

Pull Request resolved: https://github.com/facebook/yoga/pull/1254

Brings Yoga public interface back to a nice pure C ABI.

Changelog: [Internal]

Reviewed By: rshest

Differential Revision: D45138827

fbshipit-source-id: 8df7e4fd03afcda9a714d193b0430c122a7a7574
This commit is contained in:
Nick Gerleman
2023-04-21 15:36:17 -07:00
committed by Facebook GitHub Bot
parent 7afddfd204
commit 85ff2f06c2
3 changed files with 29 additions and 46 deletions

View File

@@ -82,7 +82,7 @@ WIN_EXPORT YGNodeRef YGNodeGetParent(YGNodeRef node);
WIN_EXPORT uint32_t YGNodeGetChildCount(YGNodeRef node);
WIN_EXPORT void YGNodeSetChildren(
YGNodeRef owner,
const YGNodeRef children[],
const YGNodeRef* children,
uint32_t count);
WIN_EXPORT void YGNodeSetIsReferenceBaseline(
@@ -364,11 +364,3 @@ WIN_EXPORT float YGRoundValueToPixelGrid(
bool forceFloor);
YG_EXTERN_C_END
#ifdef __cplusplus
#include <vector>
void YGNodeSetChildren(YGNodeRef owner, const std::vector<YGNodeRef>& children);
#endif