Automatic lint fixes

Summary:
@public
A round of automatic lint fixes.

Reviewed By: SidharthGuglani

Differential Revision: D14590396

fbshipit-source-id: f0b4a0ce503a1d9d46ea7ae788f9f2eac09c2ac7
This commit is contained in:
David Aurelio
2019-03-25 05:37:36 -07:00
committed by Facebook Github Bot
parent 7d7b7b9e18
commit 85352c4e45
66 changed files with 833 additions and 917 deletions

View File

@@ -15,166 +15,160 @@
#include <nbind/nbind.h>
NBIND_GLOBAL()
{
function(getInstanceCount);
NBIND_GLOBAL() {
function(getInstanceCount);
}
NBIND_CLASS(Size)
{
construct<>();
construct<double, double>();
NBIND_CLASS(Size) {
construct<>();
construct<double, double>();
}
NBIND_CLASS(Layout)
{
construct<>();
NBIND_CLASS(Layout) {
construct<>();
}
NBIND_CLASS(Value)
{
construct<>();
construct<int, double>();
NBIND_CLASS(Value) {
construct<>();
construct<int, double>();
}
NBIND_CLASS(Config)
{
method(create);
NBIND_CLASS(Config) {
method(create);
method(destroy);
method(destroy);
method(setExperimentalFeatureEnabled);
method(setPointScaleFactor);
method(setExperimentalFeatureEnabled);
method(setPointScaleFactor);
method(isExperimentalFeatureEnabled);
method(isExperimentalFeatureEnabled);
}
NBIND_CLASS(Node)
{
method(createDefault);
method(createWithConfig);
method(destroy);
NBIND_CLASS(Node) {
method(createDefault);
method(createWithConfig);
method(destroy);
method(reset);
method(reset);
method(copyStyle);
method(copyStyle);
method(setPositionType);
method(setPosition);
method(setPositionPercent);
method(setPositionType);
method(setPosition);
method(setPositionPercent);
method(setAlignContent);
method(setAlignItems);
method(setAlignSelf);
method(setFlexDirection);
method(setFlexWrap);
method(setJustifyContent);
method(setAlignContent);
method(setAlignItems);
method(setAlignSelf);
method(setFlexDirection);
method(setFlexWrap);
method(setJustifyContent);
method(setMargin);
method(setMarginPercent);
method(setMarginAuto);
method(setMargin);
method(setMarginPercent);
method(setMarginAuto);
method(setOverflow);
method(setDisplay);
method(setOverflow);
method(setDisplay);
method(setFlex);
method(setFlexBasis);
method(setFlexBasisPercent);
method(setFlexGrow);
method(setFlexShrink);
method(setFlex);
method(setFlexBasis);
method(setFlexBasisPercent);
method(setFlexGrow);
method(setFlexShrink);
method(setWidth);
method(setWidthPercent);
method(setWidthAuto);
method(setHeight);
method(setHeightPercent);
method(setHeightAuto);
method(setWidth);
method(setWidthPercent);
method(setWidthAuto);
method(setHeight);
method(setHeightPercent);
method(setHeightAuto);
method(setMinWidth);
method(setMinWidthPercent);
method(setMinHeight);
method(setMinHeightPercent);
method(setMinWidth);
method(setMinWidthPercent);
method(setMinHeight);
method(setMinHeightPercent);
method(setMaxWidth);
method(setMaxWidthPercent);
method(setMaxHeight);
method(setMaxHeightPercent);
method(setMaxWidth);
method(setMaxWidthPercent);
method(setMaxHeight);
method(setMaxHeightPercent);
method(setAspectRatio);
method(setAspectRatio);
method(setBorder);
method(setBorder);
method(setPadding);
method(setPaddingPercent);
method(setPadding);
method(setPaddingPercent);
method(getPositionType);
method(getPosition);
method(getPositionType);
method(getPosition);
method(getAlignContent);
method(getAlignItems);
method(getAlignSelf);
method(getFlexDirection);
method(getFlexWrap);
method(getJustifyContent);
method(getAlignContent);
method(getAlignItems);
method(getAlignSelf);
method(getFlexDirection);
method(getFlexWrap);
method(getJustifyContent);
method(getMargin);
method(getMargin);
method(getFlexBasis);
method(getFlexGrow);
method(getFlexShrink);
method(getFlexBasis);
method(getFlexGrow);
method(getFlexShrink);
method(getWidth);
method(getHeight);
method(getWidth);
method(getHeight);
method(getMinWidth);
method(getMinHeight);
method(getMinWidth);
method(getMinHeight);
method(getMaxWidth);
method(getMaxHeight);
method(getMaxWidth);
method(getMaxHeight);
method(getAspectRatio);
method(getAspectRatio);
method(getBorder);
method(getBorder);
method(getOverflow);
method(getDisplay);
method(getOverflow);
method(getDisplay);
method(getPadding);
method(getPadding);
method(insertChild);
method(removeChild);
method(insertChild);
method(removeChild);
method(getChildCount);
method(getChildCount);
method(getParent);
method(getChild);
method(getParent);
method(getChild);
method(isReferenceBaseline);
method(setIsReferenceBaseline);
method(isReferenceBaseline);
method(setIsReferenceBaseline);
method(setMeasureFunc);
method(unsetMeasureFunc);
method(setMeasureFunc);
method(unsetMeasureFunc);
method(setDirtiedFunc);
method(unsetDirtiedFunc);
method(setDirtiedFunc);
method(unsetDirtiedFunc);
method(markDirty);
method(isDirty);
method(markDirty);
method(isDirty);
method(calculateLayout);
method(calculateLayout);
method(getComputedLeft);
method(getComputedRight);
method(getComputedLeft);
method(getComputedRight);
method(getComputedTop);
method(getComputedBottom);
method(getComputedTop);
method(getComputedBottom);
method(getComputedWidth);
method(getComputedHeight);
method(getComputedWidth);
method(getComputedHeight);
method(getComputedLayout);
method(getComputedLayout);
method(getComputedMargin);
method(getComputedBorder);
method(getComputedPadding);
method(getComputedMargin);
method(getComputedBorder);
method(getComputedPadding);
}