Change the return type of getMarginForAxis to YGFloatOptional
Summary: Change the return type of getMarginForAxis to YGFloatOptional Reviewed By: emilsjolander Differential Revision: D7350337 fbshipit-source-id: dd1ee2fcd295ccd14f7d414ab0c24090b24e91e0
This commit is contained in:
committed by
Facebook Github Bot
parent
3c6c10075a
commit
bad262b961
@@ -114,7 +114,9 @@ struct YGNode {
|
||||
YGFloatOptional getTrailingPaddingAndBorder(
|
||||
const YGFlexDirection& axis,
|
||||
const float& widthSize) const;
|
||||
float getMarginForAxis(const YGFlexDirection axis, const float widthSize) const;
|
||||
YGFloatOptional getMarginForAxis(
|
||||
const YGFlexDirection& axis,
|
||||
const float& widthSize) const;
|
||||
// Setters
|
||||
|
||||
void setContext(void* context);
|
||||
|
Reference in New Issue
Block a user