@@ -841,7 +841,7 @@ YOGA_EXPORT void YGNodeStyleSetMinWidthPercent(
841841}
842842YOGA_EXPORT YGValue YGNodeStyleGetMinWidth (const YGNodeConstRef node) {
843843 return node->getStyle ().minDimensions ()[YGDimensionWidth];
844- };
844+ }
845845
846846YOGA_EXPORT void YGNodeStyleSetMinHeight (
847847 const YGNodeRef node,
@@ -859,7 +859,7 @@ YOGA_EXPORT void YGNodeStyleSetMinHeightPercent(
859859}
860860YOGA_EXPORT YGValue YGNodeStyleGetMinHeight (const YGNodeConstRef node) {
861861 return node->getStyle ().minDimensions ()[YGDimensionHeight];
862- };
862+ }
863863
864864YOGA_EXPORT void YGNodeStyleSetMaxWidth (
865865 const YGNodeRef node,
@@ -877,7 +877,7 @@ YOGA_EXPORT void YGNodeStyleSetMaxWidthPercent(
877877}
878878YOGA_EXPORT YGValue YGNodeStyleGetMaxWidth (const YGNodeConstRef node) {
879879 return node->getStyle ().maxDimensions ()[YGDimensionWidth];
880- };
880+ }
881881
882882YOGA_EXPORT void YGNodeStyleSetMaxHeight (
883883 const YGNodeRef node,
@@ -895,7 +895,7 @@ YOGA_EXPORT void YGNodeStyleSetMaxHeightPercent(
895895}
896896YOGA_EXPORT YGValue YGNodeStyleGetMaxHeight (const YGNodeConstRef node) {
897897 return node->getStyle ().maxDimensions ()[YGDimensionHeight];
898- };
898+ }
899899
900900#define YG_NODE_LAYOUT_PROPERTY_IMPL (type, name, instanceName ) \
901901 YOGA_EXPORT type YGNodeLayoutGet##name(const YGNodeRef node) { \
@@ -929,18 +929,18 @@ YOGA_EXPORT YGValue YGNodeStyleGetMaxHeight(const YGNodeConstRef node) {
929929 return node->getLayout ().instanceName [edge]; \
930930 }
931931
932- YG_NODE_LAYOUT_PROPERTY_IMPL (float , Left, position[YGEdgeLeft]);
933- YG_NODE_LAYOUT_PROPERTY_IMPL (float , Top, position[YGEdgeTop]);
934- YG_NODE_LAYOUT_PROPERTY_IMPL (float , Right, position[YGEdgeRight]);
935- YG_NODE_LAYOUT_PROPERTY_IMPL (float , Bottom, position[YGEdgeBottom]);
936- YG_NODE_LAYOUT_PROPERTY_IMPL (float , Width, dimensions[YGDimensionWidth]);
937- YG_NODE_LAYOUT_PROPERTY_IMPL (float , Height, dimensions[YGDimensionHeight]);
938- YG_NODE_LAYOUT_PROPERTY_IMPL (YGDirection, Direction, direction());
939- YG_NODE_LAYOUT_PROPERTY_IMPL (bool , HadOverflow, hadOverflow());
940-
941- YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL (float , Margin, margin);
942- YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL (float , Border, border);
943- YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL (float , Padding, padding);
932+ YG_NODE_LAYOUT_PROPERTY_IMPL (float , Left, position[YGEdgeLeft])
933+ YG_NODE_LAYOUT_PROPERTY_IMPL (float , Top, position[YGEdgeTop])
934+ YG_NODE_LAYOUT_PROPERTY_IMPL (float , Right, position[YGEdgeRight])
935+ YG_NODE_LAYOUT_PROPERTY_IMPL (float , Bottom, position[YGEdgeBottom])
936+ YG_NODE_LAYOUT_PROPERTY_IMPL (float , Width, dimensions[YGDimensionWidth])
937+ YG_NODE_LAYOUT_PROPERTY_IMPL (float , Height, dimensions[YGDimensionHeight])
938+ YG_NODE_LAYOUT_PROPERTY_IMPL (YGDirection, Direction, direction())
939+ YG_NODE_LAYOUT_PROPERTY_IMPL (bool , HadOverflow, hadOverflow())
940+
941+ YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL (float , Margin, margin)
942+ YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL (float , Border, border)
943+ YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL (float , Padding, padding)
944944
945945std::atomic<uint32_t > gCurrentGenerationCount (0 );
946946
0 commit comments