Update ApiDefinition.cs comment

This commit is contained in:
Chris Hamons
2016-12-16 10:38:38 -06:00
parent 8db8390b5c
commit 59e950f41b
2 changed files with 4 additions and 5 deletions

View File

@@ -541,7 +541,6 @@ namespace Facebook.Yoga
return new YogaSize { width = MeasureOutput.GetWidth(output), height = MeasureOutput.GetHeight(output) };
}
#if !MONOMAC
public string Print(YogaPrintOptions options =
YogaPrintOptions.Layout|YogaPrintOptions.Style|YogaPrintOptions.Children)
{
@@ -552,7 +551,6 @@ namespace Facebook.Yoga
YogaLogger.Logger = orig;
return sb.ToString();
}
#endif
public IEnumerator<YogaNode> GetEnumerator()
{

View File

@@ -7,7 +7,8 @@ using CoreGraphics;
namespace Facebook.Yoga.Mac
{
// We're actually abusing the Xamarin.Mac binding project
// to bundle in the static lib for us. There is no objective-c
// lib to bind, but the build will fail without ApiDefinition.cs
// Xamarin.Mac binding projects allow you to include native libraries inside C# DLLs for easy consumption
// later. However, the binding project build files currently assume you are binding some objective-c API
// and that you need an ApiDefinition.cs for that. yoga is all C APIs, so just include this "blank" file so
// the dylib gets packaged
}