Add YGConfigGetInstanceCount
- For memory leak unit test - Expose the API for C#
This commit is contained in:
@@ -63,5 +63,10 @@ namespace Facebook.Yoga
|
||||
Native.YGConfigSetPointScaleFactor(_ygConfig, value);
|
||||
}
|
||||
}
|
||||
|
||||
public static int GetInstanceCount()
|
||||
{
|
||||
return Native.YGConfigGetInstanceCount();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user