2 * Copyright (c) 2014-present, Facebook, Inc.
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
14 #define YGAlignCount 8
15 typedef YG_ENUM_BEGIN(YGAlign) {
24 } YG_ENUM_END(YGAlign);
25 WIN_EXPORT const char *YGAlignToString(const YGAlign value);
27 #define YGDimensionCount 2
28 typedef YG_ENUM_BEGIN(YGDimension) {
31 } YG_ENUM_END(YGDimension);
32 WIN_EXPORT const char *YGDimensionToString(const YGDimension value);
34 #define YGDirectionCount 3
35 typedef YG_ENUM_BEGIN(YGDirection) {
39 } YG_ENUM_END(YGDirection);
40 WIN_EXPORT const char *YGDirectionToString(const YGDirection value);
42 #define YGDisplayCount 2
43 typedef YG_ENUM_BEGIN(YGDisplay) {
46 } YG_ENUM_END(YGDisplay);
47 WIN_EXPORT const char *YGDisplayToString(const YGDisplay value);
50 typedef YG_ENUM_BEGIN(YGEdge) {
60 } YG_ENUM_END(YGEdge);
61 WIN_EXPORT const char *YGEdgeToString(const YGEdge value);
63 #define YGExperimentalFeatureCount 1
64 typedef YG_ENUM_BEGIN(YGExperimentalFeature) {
65 YGExperimentalFeatureWebFlexBasis,
66 } YG_ENUM_END(YGExperimentalFeature);
67 WIN_EXPORT const char *YGExperimentalFeatureToString(const YGExperimentalFeature value);
69 #define YGFlexDirectionCount 4
70 typedef YG_ENUM_BEGIN(YGFlexDirection) {
71 YGFlexDirectionColumn,
72 YGFlexDirectionColumnReverse,
74 YGFlexDirectionRowReverse,
75 } YG_ENUM_END(YGFlexDirection);
76 WIN_EXPORT const char *YGFlexDirectionToString(const YGFlexDirection value);
78 #define YGJustifyCount 6
79 typedef YG_ENUM_BEGIN(YGJustify){
83 YGJustifySpaceBetween,
86 } YG_ENUM_END(YGJustify);
87 WIN_EXPORT const char *YGJustifyToString(const YGJustify value);
89 #define YGLogLevelCount 6
90 typedef YG_ENUM_BEGIN(YGLogLevel) {
97 } YG_ENUM_END(YGLogLevel);
98 WIN_EXPORT const char *YGLogLevelToString(const YGLogLevel value);
100 #define YGMeasureModeCount 3
101 typedef YG_ENUM_BEGIN(YGMeasureMode) {
102 YGMeasureModeUndefined,
103 YGMeasureModeExactly,
105 } YG_ENUM_END(YGMeasureMode);
106 WIN_EXPORT const char *YGMeasureModeToString(const YGMeasureMode value);
108 #define YGNodeTypeCount 2
109 typedef YG_ENUM_BEGIN(YGNodeType) {
112 } YG_ENUM_END(YGNodeType);
113 WIN_EXPORT const char *YGNodeTypeToString(const YGNodeType value);
115 #define YGOverflowCount 3
116 typedef YG_ENUM_BEGIN(YGOverflow) {
120 } YG_ENUM_END(YGOverflow);
121 WIN_EXPORT const char *YGOverflowToString(const YGOverflow value);
123 #define YGPositionTypeCount 2
124 typedef YG_ENUM_BEGIN(YGPositionType) {
125 YGPositionTypeRelative,
126 YGPositionTypeAbsolute,
127 } YG_ENUM_END(YGPositionType);
128 WIN_EXPORT const char *YGPositionTypeToString(const YGPositionType value);
130 #define YGPrintOptionsCount 3
131 typedef YG_ENUM_BEGIN(YGPrintOptions) {
132 YGPrintOptionsLayout = 1,
133 YGPrintOptionsStyle = 2,
134 YGPrintOptionsChildren = 4,
135 } YG_ENUM_END(YGPrintOptions);
136 WIN_EXPORT const char *YGPrintOptionsToString(const YGPrintOptions value);
138 #define YGUnitCount 4
139 typedef YG_ENUM_BEGIN(YGUnit) {
144 } YG_ENUM_END(YGUnit);
145 WIN_EXPORT const char *YGUnitToString(const YGUnit value);
147 #define YGWrapCount 3
148 typedef YG_ENUM_BEGIN(YGWrap) {
152 } YG_ENUM_END(YGWrap);
153 WIN_EXPORT const char *YGWrapToString(const YGWrap value);