mess up the formatting
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user