@@ -845,7 +845,7 @@ YOGA_EXPORT void YGNodeStyleSetMinWidthPercent(
845845}
846846YOGA_EXPORT YGValue YGNodeStyleGetMinWidth (const YGNodeConstRef node) {
847847 return node->getStyle ().minDimensions ()[YGDimensionWidth];
848- }
848+ };
849849
850850YOGA_EXPORT void YGNodeStyleSetMinHeight (
851851 const YGNodeRef node,
@@ -863,7 +863,7 @@ YOGA_EXPORT void YGNodeStyleSetMinHeightPercent(
863863}
864864YOGA_EXPORT YGValue YGNodeStyleGetMinHeight (const YGNodeConstRef node) {
865865 return node->getStyle ().minDimensions ()[YGDimensionHeight];
866- }
866+ };
867867
868868YOGA_EXPORT void YGNodeStyleSetMaxWidth (
869869 const YGNodeRef node,
@@ -881,7 +881,7 @@ YOGA_EXPORT void YGNodeStyleSetMaxWidthPercent(
881881}
882882YOGA_EXPORT YGValue YGNodeStyleGetMaxWidth (const YGNodeConstRef node) {
883883 return node->getStyle ().maxDimensions ()[YGDimensionWidth];
884- }
884+ };
885885
886886YOGA_EXPORT void YGNodeStyleSetMaxHeight (
887887 const YGNodeRef node,
@@ -899,7 +899,7 @@ YOGA_EXPORT void YGNodeStyleSetMaxHeightPercent(
899899}
900900YOGA_EXPORT YGValue YGNodeStyleGetMaxHeight (const YGNodeConstRef node) {
901901 return node->getStyle ().maxDimensions ()[YGDimensionHeight];
902- }
902+ };
903903
904904#define YG_NODE_LAYOUT_PROPERTY_IMPL (type, name, instanceName ) \
905905 YOGA_EXPORT type YGNodeLayoutGet##name(const YGNodeRef node) { \
@@ -933,18 +933,18 @@ YOGA_EXPORT YGValue YGNodeStyleGetMaxHeight(const YGNodeConstRef node) {
933933 return node->getLayout ().instanceName [edge]; \
934934 }
935935
936- YG_NODE_LAYOUT_PROPERTY_IMPL (float , Left, position[YGEdgeLeft])
937- YG_NODE_LAYOUT_PROPERTY_IMPL (float , Top, position[YGEdgeTop])
938- YG_NODE_LAYOUT_PROPERTY_IMPL (float , Right, position[YGEdgeRight])
939- YG_NODE_LAYOUT_PROPERTY_IMPL (float , Bottom, position[YGEdgeBottom])
940- YG_NODE_LAYOUT_PROPERTY_IMPL (float , Width, dimensions[YGDimensionWidth])
941- YG_NODE_LAYOUT_PROPERTY_IMPL (float , Height, dimensions[YGDimensionHeight])
942- YG_NODE_LAYOUT_PROPERTY_IMPL (YGDirection, Direction, direction())
943- YG_NODE_LAYOUT_PROPERTY_IMPL (bool , HadOverflow, hadOverflow())
944-
945- YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL (float , Margin, margin)
946- YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL (float , Border, border)
947- YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL (float , Padding, padding)
936+ YG_NODE_LAYOUT_PROPERTY_IMPL (float , Left, position[YGEdgeLeft]);
937+ YG_NODE_LAYOUT_PROPERTY_IMPL (float , Top, position[YGEdgeTop]);
938+ YG_NODE_LAYOUT_PROPERTY_IMPL (float , Right, position[YGEdgeRight]);
939+ YG_NODE_LAYOUT_PROPERTY_IMPL (float , Bottom, position[YGEdgeBottom]);
940+ YG_NODE_LAYOUT_PROPERTY_IMPL (float , Width, dimensions[YGDimensionWidth]);
941+ YG_NODE_LAYOUT_PROPERTY_IMPL (float , Height, dimensions[YGDimensionHeight]);
942+ YG_NODE_LAYOUT_PROPERTY_IMPL (YGDirection, Direction, direction());
943+ YG_NODE_LAYOUT_PROPERTY_IMPL (bool , HadOverflow, hadOverflow());
944+
945+ YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL (float , Margin, margin);
946+ YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL (float , Border, border);
947+ YG_NODE_LAYOUT_RESOLVED_PROPERTY_IMPL (float , Padding, padding);
948948
949949std::atomic<uint32_t > gCurrentGenerationCount (0 );
950950
0 commit comments