Format C/C++ files
Summary: Run new `format.sh`. Reviewed By: emilsjolander Differential Revision: D4481501 fbshipit-source-id: 5791bee9919b44282d1549029ff8e078f253ddf8
This commit is contained in:
committed by
Facebook Github Bot
parent
9afb65da34
commit
326ae15532
@@ -7,22 +7,21 @@
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#include <yoga/Yoga.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <yoga/Yoga.h>
|
||||
|
||||
static YGSize _measure(YGNodeRef node,
|
||||
float width,
|
||||
YGMeasureMode widthMode,
|
||||
float height,
|
||||
YGMeasureMode heightMode) {
|
||||
int *measureCount = (int*) YGNodeGetContext(node);
|
||||
float width,
|
||||
YGMeasureMode widthMode,
|
||||
float height,
|
||||
YGMeasureMode heightMode) {
|
||||
int *measureCount = (int *) YGNodeGetContext(node);
|
||||
if (measureCount) {
|
||||
(*measureCount)++;
|
||||
}
|
||||
|
||||
return YGSize {
|
||||
.width = 10,
|
||||
.height = 10,
|
||||
return YGSize{
|
||||
.width = 10, .height = 10,
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user