mess up the formatting

This commit is contained in:
Nick Gerleman
2022-10-14 08:13:23 -07:00
parent ff5d29230e
commit b34f44f4ec

View File

@@ -21,7 +21,7 @@
#include <float.h>
/* define fmaxf if < VC12 */
#if _MSC_VER < 1800
#if _MSC_VER < 1800
__forceinline const float fmaxf(const float a, const float b) {
return (a > b) ? a : b;
}
@@ -340,8 +340,8 @@ YOGA_EXPORT bool YGNodeIsReferenceBaseline(YGNodeRef node) {
YOGA_EXPORT void YGNodeInsertChild(
const YGNodeRef owner,
const YGNodeRef child,
const uint32_t index) {
const YGNodeRef child,
const uint32_t index) {
YGAssertWithNode(
owner,
child->getOwner() == nullptr,
@@ -361,9 +361,14 @@ YOGA_EXPORT void YGNodeSwapChild(
const YGNodeRef owner,
const YGNodeRef child,
const uint32_t index) {
owner->replaceChild(child, index);
child->setOwner(owner);
}
}
YOGA_EXPORT void YGNodeRemoveChild(
const YGNodeRef owner,