Add and run clang format script
Summary: This code used to be auto generated. Let's let clang-format clean up some stuff for us. Reviewed By: lucasr Differential Revision: D3662225 fbshipit-source-id: ddd4064cbf9be21ca6a97001ace1b56b4314c86f
This commit is contained in:
committed by
Facebook Github Bot 9
parent
9278ff462e
commit
efe1595f0e
@@ -26,9 +26,7 @@ typedef struct CSSCachedMeasurement {
|
||||
|
||||
// This value was chosen based on empiracle data. Even the most complicated
|
||||
// layouts should not require more than 16 entries to fit within the cache.
|
||||
enum {
|
||||
CSS_MAX_CACHED_RESULT_COUNT = 16
|
||||
};
|
||||
enum { CSS_MAX_CACHED_RESULT_COUNT = 16 };
|
||||
|
||||
typedef struct CSSLayout {
|
||||
float position[4];
|
||||
@@ -89,9 +87,13 @@ typedef struct CSSNode {
|
||||
CSSNodeListRef children;
|
||||
bool isDirty;
|
||||
|
||||
struct CSSNode* nextChild;
|
||||
struct CSSNode *nextChild;
|
||||
|
||||
CSSSize (*measure)(void *context, float width, CSSMeasureMode widthMode, float height, CSSMeasureMode heightMode);
|
||||
CSSSize (*measure)(void *context,
|
||||
float width,
|
||||
CSSMeasureMode widthMode,
|
||||
float height,
|
||||
CSSMeasureMode heightMode);
|
||||
void (*print)(void *context);
|
||||
void *context;
|
||||
} CSSNode;
|
||||
|
Reference in New Issue
Block a user