Permalink
Browse files

Convert max cache count into a define

Differential Revision: D4346529

fbshipit-source-id: 8641c4c5017d915d64e5884cae09ac8f01861337
  • Loading branch information...
emilsjolander authored and facebook-github-bot committed Dec 22, 2016
1 parent b8e79d1 commit 05e0b6719b1d1879b0e86a68e275d74ef774dd15
Showing with 1 addition and 1 deletion.
  1. +1 −1 ReactCommon/yoga/yoga/Yoga.c
@@ -42,7 +42,7 @@ typedef struct YGCachedMeasurement {
// 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 { YG_MAX_CACHED_RESULT_COUNT = 16 };
#define YG_MAX_CACHED_RESULT_COUNT 16
typedef struct YGLayout {
float position[4];

0 comments on commit 05e0b67

Please sign in to comment.