Add support for context-aware print functions
Summary: @public Context-aware print functions are an internal Yoga feature that will be used for Yoga’s JNI code. It will be possible to specify a context when calculating layout, which will be passed on to baseline and measure functions. This will be a private feature. Reviewed By: SidharthGuglani Differential Revision: D14131098 fbshipit-source-id: 7a9da307274ceccba9f7debba581b70c1ebf2c98
This commit is contained in:
committed by
Facebook Github Bot
parent
59bcac3289
commit
cbcf07f08a
@@ -3843,7 +3843,7 @@ bool YGLayoutNodeInternal(
|
||||
"%s%d.{[skipped] ",
|
||||
YGSpacer(gDepth),
|
||||
gDepth);
|
||||
node->print();
|
||||
node->print(layoutContext);
|
||||
Log::log(
|
||||
node,
|
||||
YGLogLevelVerbose,
|
||||
@@ -3867,7 +3867,7 @@ bool YGLayoutNodeInternal(
|
||||
YGSpacer(gDepth),
|
||||
gDepth,
|
||||
needToVisitNode ? "*" : "");
|
||||
node->print();
|
||||
node->print(layoutContext);
|
||||
Log::log(
|
||||
node,
|
||||
YGLogLevelVerbose,
|
||||
@@ -3903,7 +3903,7 @@ bool YGLayoutNodeInternal(
|
||||
YGSpacer(gDepth),
|
||||
gDepth,
|
||||
needToVisitNode ? "*" : "");
|
||||
node->print();
|
||||
node->print(layoutContext);
|
||||
Log::log(
|
||||
node,
|
||||
YGLogLevelVerbose,
|
||||
|
Reference in New Issue
Block a user