[Xamarin] Add Facebook.Yoga.IOS native lib wrapper

This commit is contained in:
Rui Marinho
2017-01-06 01:31:45 +00:00
parent 6d48307c8d
commit 241e234131
6 changed files with 177 additions and 0 deletions

View File

@@ -89,8 +89,10 @@ namespace Facebook.Yoga
[DllImport(DllName, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)]
public static extern void YGNodePrint(YGNodeHandle node, YogaPrintOptions options);
#if !__IOS__
[DllImport(DllName, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)]
[return: MarshalAs(UnmanagedType.I1)]
#endif
public static extern bool YGValueIsUndefined(float value);
[DllImport(DllName, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)]