Export YGInteropSetLogger method #960
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When building and using C # libraries,
EntryPointNotFoundException thrown from YGInteropSetLogger.
so, I added YOGA_EXPORT on YGInteropSetLogger.
Hi KimDaeWook! Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file.In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.
If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!
And YGConfigGetUseLegacyStretchBehaviour is not defined, so i add it additionally.
@@ -4363,6 +4363,11 @@ YOGA_EXPORT void YGConfigSetUseWebDefaults(
config->useWebDefaults = enabled;
}
YOGA_EXPORT bool YGConfigGetUseLegacyStretchBehaviour(
Do you really need this ? This flag might be removed in future.
Thanks for creating this PR.
Will merge the PR for adding YOGA_EXPORT to YGInteropSetLogger after you remove other changes
It looks like the C# bindings already assume
YGConfigGetUseLegacyStretchBehaviour
. From recent discussions on RN compatibility, I don't think we will be able to remove the flag soon, so adding a public accessor seems righteous to me.Otherwise, fixing the mismatch in export declaration is a good change.
@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
Pull request closed