Changed the return type of YGResolveValue
Summary: Changed the return type of YGResolveValue Reviewed By: emilsjolander Differential Revision: D7195099 fbshipit-source-id: 72c4163cd08691cf6e40df05394cc52e83b0de14
This commit is contained in:
committed by
Facebook Github Bot
parent
47ad3f63cf
commit
b3f8851bc2
@@ -53,3 +53,7 @@ bool YGFloatsEqual(const float a, const float b) {
|
||||
float YGFloatSanitize(const float& val) {
|
||||
return YGFloatIsUndefined(val) ? 0 : val;
|
||||
}
|
||||
|
||||
float YGUnwrapFloatOptional(const YGFloatOptional& op) {
|
||||
return op.isUndefined ? YGUndefined : op.value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user