Exposing setDirtiedFunc
as plain C function YGNodeSetDirtiedFunc
Summary: @public Trivial. Those lines were lost during rebasing of the original commit. Reviewed By: priteshrnandgaonkar Differential Revision: D6717696 fbshipit-source-id: a5dce25427c8977352b3ae7ea01e546a540e0c13
This commit is contained in:
committed by
Facebook Github Bot
parent
92bfcbafc0
commit
b8c2428b31
@@ -175,6 +175,14 @@ void YGNodeSetBaselineFunc(YGNodeRef node, YGBaselineFunc baselineFunc) {
|
||||
node->setBaseLineFunc(baselineFunc);
|
||||
}
|
||||
|
||||
YGDirtiedFunc YGNodeGetDirtiedFunc(YGNodeRef node) {
|
||||
return node->getDirtied();
|
||||
}
|
||||
|
||||
void YGNodeSetDirtiedFunc(YGNodeRef node, YGDirtiedFunc dirtiedFunc) {
|
||||
node->setDirtiedFunc(dirtiedFunc);
|
||||
}
|
||||
|
||||
YGPrintFunc YGNodeGetPrintFunc(YGNodeRef node) {
|
||||
return node->getPrintFunc();
|
||||
}
|
||||
|
@@ -166,6 +166,8 @@ YGMeasureFunc YGNodeGetMeasureFunc(YGNodeRef node);
|
||||
void YGNodeSetMeasureFunc(YGNodeRef node, YGMeasureFunc measureFunc);
|
||||
YGBaselineFunc YGNodeGetBaselineFunc(YGNodeRef node);
|
||||
void YGNodeSetBaselineFunc(YGNodeRef node, YGBaselineFunc baselineFunc);
|
||||
YGDirtiedFunc YGNodeGetDirtiedFunc(YGNodeRef node);
|
||||
void YGNodeSetDirtiedFunc(YGNodeRef node, YGDirtiedFunc dirtiedFunc);
|
||||
YGPrintFunc YGNodeGetPrintFunc(YGNodeRef node);
|
||||
void YGNodeSetPrintFunc(YGNodeRef node, YGPrintFunc printFunc);
|
||||
bool YGNodeGetHasNewLayout(YGNodeRef node);
|
||||
|
Reference in New Issue
Block a user