diff --git a/React/CSSLayout/CSSLayout.c b/React/CSSLayout/CSSLayout.c index 321adac49..6d6c06d5d 100644 --- a/React/CSSLayout/CSSLayout.c +++ b/React/CSSLayout/CSSLayout.c @@ -91,12 +91,8 @@ typedef struct CSSNode { struct CSSNode *nextChild; - CSSSize (*measure)(void *context, - float width, - CSSMeasureMode widthMode, - float height, - CSSMeasureMode heightMode); - void (*print)(void *context); + CSSMeasureFunc measure; + CSSPrintFunc print; void *context; } CSSNode;