Update ApiDefinition.cs comment
This commit is contained in:
@@ -541,7 +541,6 @@ namespace Facebook.Yoga
|
|||||||
return new YogaSize { width = MeasureOutput.GetWidth(output), height = MeasureOutput.GetHeight(output) };
|
return new YogaSize { width = MeasureOutput.GetWidth(output), height = MeasureOutput.GetHeight(output) };
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !MONOMAC
|
|
||||||
public string Print(YogaPrintOptions options =
|
public string Print(YogaPrintOptions options =
|
||||||
YogaPrintOptions.Layout|YogaPrintOptions.Style|YogaPrintOptions.Children)
|
YogaPrintOptions.Layout|YogaPrintOptions.Style|YogaPrintOptions.Children)
|
||||||
{
|
{
|
||||||
@@ -552,7 +551,6 @@ namespace Facebook.Yoga
|
|||||||
YogaLogger.Logger = orig;
|
YogaLogger.Logger = orig;
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
public IEnumerator<YogaNode> GetEnumerator()
|
public IEnumerator<YogaNode> GetEnumerator()
|
||||||
{
|
{
|
||||||
|
@@ -7,7 +7,8 @@ using CoreGraphics;
|
|||||||
|
|
||||||
namespace Facebook.Yoga.Mac
|
namespace Facebook.Yoga.Mac
|
||||||
{
|
{
|
||||||
// We're actually abusing the Xamarin.Mac binding project
|
// Xamarin.Mac binding projects allow you to include native libraries inside C# DLLs for easy consumption
|
||||||
// to bundle in the static lib for us. There is no objective-c
|
// later. However, the binding project build files currently assume you are binding some objective-c API
|
||||||
// lib to bind, but the build will fail without ApiDefinition.cs
|
// 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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user