From b72efaaaca1a5ff269f159f34cb20a6f9bbec9e8 Mon Sep 17 00:00:00 2001 From: Dmytro Kasianchuk Date: Sat, 2 Nov 2019 20:41:13 -0700 Subject: [PATCH] Added missing YOGA_EXPORT Summary: Added missing YOGA_EXPORT #Changelog: [Internal] [Fixed] - Added missing YOGA_EXPORT Reviewed By: SidharthGuglani Differential Revision: D18289071 fbshipit-source-id: a2e16a59427aa33b34b3d1fab9d1088904ee62f5 --- yoga/Yoga.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yoga/Yoga.cpp b/yoga/Yoga.cpp index 5ace8f87..8483dd88 100644 --- a/yoga/Yoga.cpp +++ b/yoga/Yoga.cpp @@ -3645,7 +3645,7 @@ static inline bool YGMeasureModeNewMeasureSizeIsStricterAndStillValid( (lastComputedSize <= size || YGFloatsEqual(size, lastComputedSize)); } -float YGRoundValueToPixelGrid( +YOGA_EXPORT float YGRoundValueToPixelGrid( const float value, const float pointScaleFactor, const bool forceCeil, @@ -3696,7 +3696,7 @@ float YGRoundValueToPixelGrid( : scaledValue / pointScaleFactor; } -bool YGNodeCanUseCachedMeasurement( +YOGA_EXPORT bool YGNodeCanUseCachedMeasurement( const YGMeasureMode widthMode, const float width, const YGMeasureMode heightMode,