Count the number measure callback invocations
Summary: Counts how many times measure callbacks have been invoked during a layout pass. This is made available via the marker and event APIs. Reviewed By: SidharthGuglani Differential Revision: D15836983 fbshipit-source-id: 3835bef94e497375821c9f2ad8209447b4f11518
This commit is contained in:
committed by
Facebook Github Bot
parent
a130ac2f9c
commit
6b5bf570c8
@@ -9,6 +9,7 @@
|
||||
#include <functional>
|
||||
#include <vector>
|
||||
#include "../YGEnums.h"
|
||||
#include "../YGMarker.h"
|
||||
|
||||
struct YGConfig;
|
||||
struct YGNode;
|
||||
@@ -81,6 +82,7 @@ struct Event::TypedData<Event::LayoutPassStart> {
|
||||
template <>
|
||||
struct Event::TypedData<Event::LayoutPassEnd> {
|
||||
void* layoutContext;
|
||||
YGMarkerLayoutData* layoutData;
|
||||
};
|
||||
|
||||
template <>
|
||||
|
Reference in New Issue
Block a user