diff --git a/packages/react-native/ReactCommon/yoga/yoga/node/LayoutResults.h b/packages/react-native/ReactCommon/yoga/yoga/node/LayoutResults.h index 54960a44365..d427aea0385 100644 --- a/packages/react-native/ReactCommon/yoga/yoga/node/LayoutResults.h +++ b/packages/react-native/ReactCommon/yoga/yoga/node/LayoutResults.h @@ -9,6 +9,7 @@ #include +#include #include #include #include @@ -136,7 +137,7 @@ struct LayoutResults { padding_[yoga::to_underlying(physicalEdge)] = dimension; } - bool operator==(LayoutResults layout) const; + YG_EXPORT bool operator==(LayoutResults layout) const; private: Direction direction_ : bitCount() = Direction::Inherit; diff --git a/scripts/cxx-api/api-snapshots/ReactAndroidDebugCxx.api b/scripts/cxx-api/api-snapshots/ReactAndroidDebugCxx.api index 912089515ad..921b4861dad 100644 --- a/scripts/cxx-api/api-snapshots/ReactAndroidDebugCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactAndroidDebugCxx.api @@ -7242,9 +7242,9 @@ struct facebook::yoga::LayoutData { } struct facebook::yoga::LayoutResults { + public YG_EXPORT bool operator==(facebook::yoga::LayoutResults layout) const; public bool computedAutoMinMainSizeResolved() const; public bool hadOverflow() const; - public bool operator==(facebook::yoga::LayoutResults layout) const; public facebook::yoga::CachedMeasurement cachedLayout; public facebook::yoga::Direction direction() const; public facebook::yoga::Direction lastOwnerDirection; diff --git a/scripts/cxx-api/api-snapshots/ReactAndroidFrameworksCxx.api b/scripts/cxx-api/api-snapshots/ReactAndroidFrameworksCxx.api index f4f9d214de1..a207eedcc86 100644 --- a/scripts/cxx-api/api-snapshots/ReactAndroidFrameworksCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactAndroidFrameworksCxx.api @@ -11705,9 +11705,9 @@ struct facebook::yoga::LayoutData { } struct facebook::yoga::LayoutResults { + public YG_EXPORT bool operator==(facebook::yoga::LayoutResults layout) const; public bool computedAutoMinMainSizeResolved() const; public bool hadOverflow() const; - public bool operator==(facebook::yoga::LayoutResults layout) const; public facebook::yoga::CachedMeasurement cachedLayout; public facebook::yoga::Direction direction() const; public facebook::yoga::Direction lastOwnerDirection; diff --git a/scripts/cxx-api/api-snapshots/ReactAndroidNewarchCxx.api b/scripts/cxx-api/api-snapshots/ReactAndroidNewarchCxx.api index 34b1da7689b..4687eb5b751 100644 --- a/scripts/cxx-api/api-snapshots/ReactAndroidNewarchCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactAndroidNewarchCxx.api @@ -7091,9 +7091,9 @@ struct facebook::yoga::LayoutData { } struct facebook::yoga::LayoutResults { + public YG_EXPORT bool operator==(facebook::yoga::LayoutResults layout) const; public bool computedAutoMinMainSizeResolved() const; public bool hadOverflow() const; - public bool operator==(facebook::yoga::LayoutResults layout) const; public facebook::yoga::CachedMeasurement cachedLayout; public facebook::yoga::Direction direction() const; public facebook::yoga::Direction lastOwnerDirection; diff --git a/scripts/cxx-api/api-snapshots/ReactAndroidReleaseCxx.api b/scripts/cxx-api/api-snapshots/ReactAndroidReleaseCxx.api index 34b1da7689b..4687eb5b751 100644 --- a/scripts/cxx-api/api-snapshots/ReactAndroidReleaseCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactAndroidReleaseCxx.api @@ -7091,9 +7091,9 @@ struct facebook::yoga::LayoutData { } struct facebook::yoga::LayoutResults { + public YG_EXPORT bool operator==(facebook::yoga::LayoutResults layout) const; public bool computedAutoMinMainSizeResolved() const; public bool hadOverflow() const; - public bool operator==(facebook::yoga::LayoutResults layout) const; public facebook::yoga::CachedMeasurement cachedLayout; public facebook::yoga::Direction direction() const; public facebook::yoga::Direction lastOwnerDirection; diff --git a/scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api b/scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api index 65b1426db47..8360a9404bf 100644 --- a/scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api @@ -8976,9 +8976,9 @@ struct facebook::yoga::LayoutData { } struct facebook::yoga::LayoutResults { + public YG_EXPORT bool operator==(facebook::yoga::LayoutResults layout) const; public bool computedAutoMinMainSizeResolved() const; public bool hadOverflow() const; - public bool operator==(facebook::yoga::LayoutResults layout) const; public facebook::yoga::CachedMeasurement cachedLayout; public facebook::yoga::Direction direction() const; public facebook::yoga::Direction lastOwnerDirection; diff --git a/scripts/cxx-api/api-snapshots/ReactAppleFrameworksCxx.api b/scripts/cxx-api/api-snapshots/ReactAppleFrameworksCxx.api index 645e28bd7db..59da2c6ddb1 100644 --- a/scripts/cxx-api/api-snapshots/ReactAppleFrameworksCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactAppleFrameworksCxx.api @@ -13465,9 +13465,9 @@ struct facebook::yoga::LayoutData { } struct facebook::yoga::LayoutResults { + public YG_EXPORT bool operator==(facebook::yoga::LayoutResults layout) const; public bool computedAutoMinMainSizeResolved() const; public bool hadOverflow() const; - public bool operator==(facebook::yoga::LayoutResults layout) const; public facebook::yoga::CachedMeasurement cachedLayout; public facebook::yoga::Direction direction() const; public facebook::yoga::Direction lastOwnerDirection; diff --git a/scripts/cxx-api/api-snapshots/ReactAppleNewarchCxx.api b/scripts/cxx-api/api-snapshots/ReactAppleNewarchCxx.api index c8c92eb83ed..5b242c3dae4 100644 --- a/scripts/cxx-api/api-snapshots/ReactAppleNewarchCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactAppleNewarchCxx.api @@ -8828,9 +8828,9 @@ struct facebook::yoga::LayoutData { } struct facebook::yoga::LayoutResults { + public YG_EXPORT bool operator==(facebook::yoga::LayoutResults layout) const; public bool computedAutoMinMainSizeResolved() const; public bool hadOverflow() const; - public bool operator==(facebook::yoga::LayoutResults layout) const; public facebook::yoga::CachedMeasurement cachedLayout; public facebook::yoga::Direction direction() const; public facebook::yoga::Direction lastOwnerDirection; diff --git a/scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api b/scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api index 3ebc82e69ba..28d77a4d071 100644 --- a/scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api @@ -8835,9 +8835,9 @@ struct facebook::yoga::LayoutData { } struct facebook::yoga::LayoutResults { + public YG_EXPORT bool operator==(facebook::yoga::LayoutResults layout) const; public bool computedAutoMinMainSizeResolved() const; public bool hadOverflow() const; - public bool operator==(facebook::yoga::LayoutResults layout) const; public facebook::yoga::CachedMeasurement cachedLayout; public facebook::yoga::Direction direction() const; public facebook::yoga::Direction lastOwnerDirection; diff --git a/scripts/cxx-api/api-snapshots/ReactCommonDebugCxx.api b/scripts/cxx-api/api-snapshots/ReactCommonDebugCxx.api index 2ef9e05072a..1f658ff7f2d 100644 --- a/scripts/cxx-api/api-snapshots/ReactCommonDebugCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactCommonDebugCxx.api @@ -4457,9 +4457,9 @@ struct facebook::yoga::LayoutData { } struct facebook::yoga::LayoutResults { + public YG_EXPORT bool operator==(facebook::yoga::LayoutResults layout) const; public bool computedAutoMinMainSizeResolved() const; public bool hadOverflow() const; - public bool operator==(facebook::yoga::LayoutResults layout) const; public facebook::yoga::CachedMeasurement cachedLayout; public facebook::yoga::Direction direction() const; public facebook::yoga::Direction lastOwnerDirection; diff --git a/scripts/cxx-api/api-snapshots/ReactCommonFrameworksCxx.api b/scripts/cxx-api/api-snapshots/ReactCommonFrameworksCxx.api index 40cb84519bf..ffc811e88ed 100644 --- a/scripts/cxx-api/api-snapshots/ReactCommonFrameworksCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactCommonFrameworksCxx.api @@ -8811,9 +8811,9 @@ struct facebook::yoga::LayoutData { } struct facebook::yoga::LayoutResults { + public YG_EXPORT bool operator==(facebook::yoga::LayoutResults layout) const; public bool computedAutoMinMainSizeResolved() const; public bool hadOverflow() const; - public bool operator==(facebook::yoga::LayoutResults layout) const; public facebook::yoga::CachedMeasurement cachedLayout; public facebook::yoga::Direction direction() const; public facebook::yoga::Direction lastOwnerDirection; diff --git a/scripts/cxx-api/api-snapshots/ReactCommonNewarchCxx.api b/scripts/cxx-api/api-snapshots/ReactCommonNewarchCxx.api index 9279765a503..c3f7f25e826 100644 --- a/scripts/cxx-api/api-snapshots/ReactCommonNewarchCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactCommonNewarchCxx.api @@ -4450,9 +4450,9 @@ struct facebook::yoga::LayoutData { } struct facebook::yoga::LayoutResults { + public YG_EXPORT bool operator==(facebook::yoga::LayoutResults layout) const; public bool computedAutoMinMainSizeResolved() const; public bool hadOverflow() const; - public bool operator==(facebook::yoga::LayoutResults layout) const; public facebook::yoga::CachedMeasurement cachedLayout; public facebook::yoga::Direction direction() const; public facebook::yoga::Direction lastOwnerDirection; diff --git a/scripts/cxx-api/api-snapshots/ReactCommonReleaseCxx.api b/scripts/cxx-api/api-snapshots/ReactCommonReleaseCxx.api index 9279765a503..c3f7f25e826 100644 --- a/scripts/cxx-api/api-snapshots/ReactCommonReleaseCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactCommonReleaseCxx.api @@ -4450,9 +4450,9 @@ struct facebook::yoga::LayoutData { } struct facebook::yoga::LayoutResults { + public YG_EXPORT bool operator==(facebook::yoga::LayoutResults layout) const; public bool computedAutoMinMainSizeResolved() const; public bool hadOverflow() const; - public bool operator==(facebook::yoga::LayoutResults layout) const; public facebook::yoga::CachedMeasurement cachedLayout; public facebook::yoga::Direction direction() const; public facebook::yoga::Direction lastOwnerDirection;