Skip to content

Commit

Permalink
Add YGMarkerLayout
Browse files Browse the repository at this point in the history
Summary: @public adds a first `YGMarker`, and the accompanying data type.

Reviewed By: SidharthGuglani

Differential Revision: D13817588

fbshipit-source-id: 6007eb09d19cf4021989bad5b5e880adb16364a0
  • Loading branch information
davidaurelio authored and facebook-github-bot committed Jan 29, 2019
1 parent e804124 commit 1db5580
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions ReactCommon/yoga/yoga/YGMarker.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@ YG_EXTERN_C_BEGIN

typedef struct YGNode* YGNodeRef;

typedef YG_ENUM_BEGIN(YGMarker) {}
YG_ENUM_END(YGMarker);
typedef YG_ENUM_BEGIN(YGMarker){
YGMarkerLayout,
} YG_ENUM_END(YGMarker);

typedef union {
typedef struct {
int unused;
} YGMarkerLayoutData;

typedef union {
YGMarkerLayoutData* layout;
} YGMarkerData;

typedef struct {
Expand Down

0 comments on commit 1db5580

Please sign in to comment.