Export YGInteropSetLogger method (#960)

Summary:
When building and using C # libraries,
EntryPointNotFoundException thrown from YGInteropSetLogger.

so, I added YOGA_EXPORT on YGInteropSetLogger.

Pull Request resolved: https://github.com/facebook/yoga/pull/960

Reviewed By: yungsters

Differential Revision: D40027238

Pulled By: yungsters

fbshipit-source-id: 6af584a16e66a31c91374a1bb64434888762e3c8
This commit is contained in:
DaeWook, Kim
2022-10-03 21:26:05 -07:00
committed by Facebook GitHub Bot
parent 7f854ec13e
commit d16e918c52
3 changed files with 7 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ static int unmanagedLogger(
return result;
}
void YGInteropSetLogger(YGInteropLogger managedLogger) {
YOGA_EXPORT void YGInteropSetLogger(YGInteropLogger managedLogger) {
gManagedLogger = managedLogger;
YGConfigSetLogger(YGConfigGetDefault(), &unmanagedLogger);
}