Rename YGMarkerType
to YGMarker
Summary: @public this will lead to nicer enum member names. Reviewed By: SidharthGuglani Differential Revision: D13817587 fbshipit-source-id: 85355328f7977b4fb29a9474532f2d578a3cbf79
This commit is contained in:
committed by
Facebook Github Bot
parent
79355ab72d
commit
e0eb37fce0
@@ -12,8 +12,8 @@ YG_EXTERN_C_BEGIN
|
|||||||
|
|
||||||
typedef struct YGNode* YGNodeRef;
|
typedef struct YGNode* YGNodeRef;
|
||||||
|
|
||||||
typedef YG_ENUM_BEGIN(YGMarkerType) {}
|
typedef YG_ENUM_BEGIN(YGMarker) {}
|
||||||
YG_ENUM_END(YGMarkerType);
|
YG_ENUM_END(YGMarker);
|
||||||
|
|
||||||
typedef union {
|
typedef union {
|
||||||
int unused;
|
int unused;
|
||||||
@@ -22,10 +22,10 @@ typedef union {
|
|||||||
typedef struct {
|
typedef struct {
|
||||||
// accepts marker type, a node ref, and marker data (depends on marker type)
|
// accepts marker type, a node ref, and marker data (depends on marker type)
|
||||||
// can return a handle or id that Yoga will pass to endMarker
|
// can return a handle or id that Yoga will pass to endMarker
|
||||||
void* (*startMarker)(YGMarkerType, YGNodeRef, YGMarkerData);
|
void* (*startMarker)(YGMarker, YGNodeRef, YGMarkerData);
|
||||||
// accepts marker type, a node ref, marker data, and marker id as returned by
|
// accepts marker type, a node ref, marker data, and marker id as returned by
|
||||||
// startMarker
|
// startMarker
|
||||||
void (*endMarker)(YGMarkerType, YGNodeRef, YGMarkerData, void* id);
|
void (*endMarker)(YGMarker, YGNodeRef, YGMarkerData, void* id);
|
||||||
} YGMarkerCallbacks;
|
} YGMarkerCallbacks;
|
||||||
|
|
||||||
YG_EXTERN_C_END
|
YG_EXTERN_C_END
|
||||||
|
Reference in New Issue
Block a user