Add YGMarkerLayout

Summary: @public adds a first `YGMarker`, and the accompanying data type.

Reviewed By: SidharthGuglani

Differential Revision: D13817588

fbshipit-source-id: 6007eb09d19cf4021989bad5b5e880adb16364a0
This commit is contained in:
David Aurelio
2019-01-29 03:48:31 -08:00
committed by Facebook Github Bot
parent e0eb37fce0
commit 96dfe068ee

View File

@@ -12,11 +12,16 @@ YG_EXTERN_C_BEGIN
typedef struct YGNode* YGNodeRef; typedef struct YGNode* YGNodeRef;
typedef YG_ENUM_BEGIN(YGMarker) {} typedef YG_ENUM_BEGIN(YGMarker){
YG_ENUM_END(YGMarker); YGMarkerLayout,
} YG_ENUM_END(YGMarker);
typedef struct {
int unused;
} YGMarkerLayoutData;
typedef union { typedef union {
int unused; YGMarkerLayoutData* layout;
} YGMarkerData; } YGMarkerData;
typedef struct { typedef struct {