[Yoga] update unit tests

- all unit tests passed
This commit is contained in:
vvveiii
2020-08-15 17:55:00 +08:00
parent cc80a01488
commit b7cc9f9dac
12 changed files with 60 additions and 60 deletions

View File

@@ -10,9 +10,9 @@
#include <yoga/Yoga.h>
struct _MeasureConstraint {
float width;
YGFloat width;
YGMeasureMode widthMode;
float height;
YGFloat height;
YGMeasureMode heightMode;
};
@@ -23,9 +23,9 @@ struct _MeasureConstraintList {
static YGSize _measure(
YGNodeRef node,
float width,
YGFloat width,
YGMeasureMode widthMode,
float height,
YGFloat height,
YGMeasureMode heightMode) {
struct _MeasureConstraintList* constraintList =
(struct _MeasureConstraintList*) node->getContext();