mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 03:26:07 +00:00
Convert max cache count into a define
Differential Revision: D4346529 fbshipit-source-id: 8641c4c5017d915d64e5884cae09ac8f01861337
This commit is contained in:
parent
b8e79d171a
commit
05e0b6719b
@ -42,7 +42,7 @@ typedef struct YGCachedMeasurement {
|
|||||||
|
|
||||||
// This value was chosen based on empiracle data. Even the most complicated
|
// 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.
|
// layouts should not require more than 16 entries to fit within the cache.
|
||||||
enum { YG_MAX_CACHED_RESULT_COUNT = 16 };
|
#define YG_MAX_CACHED_RESULT_COUNT 16
|
||||||
|
|
||||||
typedef struct YGLayout {
|
typedef struct YGLayout {
|
||||||
float position[4];
|
float position[4];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user