From ddf986e2418873b9090dbdb2627e0cc20b8cd9cf Mon Sep 17 00:00:00 2001 From: Kazuki Sakamoto Date: Fri, 10 Feb 2017 11:52:13 -0800 Subject: [PATCH] Add comments --- csharp/Yoga/YGInterop.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csharp/Yoga/YGInterop.cpp b/csharp/Yoga/YGInterop.cpp index bc6262ff..28a83d5a 100644 --- a/csharp/Yoga/YGInterop.cpp +++ b/csharp/Yoga/YGInterop.cpp @@ -47,7 +47,7 @@ static YGSize unmanagedMeasureFunc(YGNodeRef node, } void YGInteropNodeSetMeasureFunc(YGNodeRef node, YGInteropMeasureFunc managedFunc) { - gManagedMeasureFunc = managedFunc; + gManagedMeasureFunc = managedFunc; // this is always the same static managed method YGNodeSetMeasureFunc(node, &unmanagedMeasureFunc); } @@ -59,6 +59,6 @@ static float unmanagedBaselineFunc(YGNodeRef node, const float width, const floa } void YGInteropNodeSetBaselineFunc(YGNodeRef node, YGInteropBaselineFunc managedFunc) { - gManagedBaselineFunc = managedFunc; + gManagedBaselineFunc = managedFunc; // this is always the same static managed method YGNodeSetBaselineFunc(node, &unmanagedBaselineFunc); }