Skip to content

Commit

Permalink
[skip ci] Support for (de)serializing config values (facebook#42750)
Browse files Browse the repository at this point in the history
Summary:
X-link: facebook/yoga#1571


tsia. This is state we need to capture as it can drastically affect the benchmark times

Differential Revision: D53203385
  • Loading branch information
joevilches authored and facebook-github-bot committed Feb 8, 2024
1 parent e37da1e commit bf0a64f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 92 deletions.

This file was deleted.

12 changes: 0 additions & 12 deletions packages/react-native/ReactCommon/yoga/yoga/YGEnums.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,18 +223,6 @@ const char* YGPositionTypeToString(const YGPositionType value) {
return "unknown";
}

const char* YGPrintOptionsToString(const YGPrintOptions value) {
switch (value) {
case YGPrintOptionsLayout:
return "layout";
case YGPrintOptionsStyle:
return "style";
case YGPrintOptionsChildren:
return "children";
}
return "unknown";
}

const char* YGUnitToString(const YGUnit value) {
switch (value) {
case YGUnitUndefined:
Expand Down
7 changes: 0 additions & 7 deletions packages/react-native/ReactCommon/yoga/yoga/YGEnums.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,6 @@ YG_ENUM_DECL(
YGPositionTypeRelative,
YGPositionTypeAbsolute)

YG_ENUM_DECL(
YGPrintOptions,
YGPrintOptionsLayout = 1,
YGPrintOptionsStyle = 2,
YGPrintOptionsChildren = 4)
YG_DEFINE_ENUM_FLAG_OPERATORS(YGPrintOptions)

YG_ENUM_DECL(
YGUnit,
YGUnitUndefined,
Expand Down
38 changes: 0 additions & 38 deletions packages/react-native/ReactCommon/yoga/yoga/enums/PrintOptions.h

This file was deleted.

0 comments on commit bf0a64f

Please sign in to comment.