remove YGMarker code
Summary: Removes code for now unused marker based approach Reviewed By: davidaurelio Differential Revision: D16048800 fbshipit-source-id: 228e0e906252782ee0bed543728b666d1f9cc854
This commit is contained in:
committed by
Facebook Github Bot
parent
7c891db9af
commit
5e40e4b682
@@ -9,7 +9,6 @@
|
||||
#include <functional>
|
||||
#include <vector>
|
||||
#include <yoga/YGEnums.h>
|
||||
#include <yoga/YGMarker.h>
|
||||
|
||||
struct YGConfig;
|
||||
struct YGNode;
|
||||
@@ -24,6 +23,15 @@ enum LayoutType : int {
|
||||
kCachedMeasure = 3
|
||||
};
|
||||
|
||||
struct LayoutData {
|
||||
int layouts;
|
||||
int measures;
|
||||
int maxMeasureCache;
|
||||
int cachedLayouts;
|
||||
int cachedMeasures;
|
||||
int measureCallbacks;
|
||||
};
|
||||
|
||||
struct Event {
|
||||
enum Type {
|
||||
NodeAllocation,
|
||||
@@ -94,7 +102,7 @@ struct Event::TypedData<Event::LayoutPassStart> {
|
||||
template <>
|
||||
struct Event::TypedData<Event::LayoutPassEnd> {
|
||||
void* layoutContext;
|
||||
YGMarkerLayoutData* layoutData;
|
||||
LayoutData* layoutData;
|
||||
};
|
||||
|
||||
template <>
|
||||
|
Reference in New Issue
Block a user