Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Yoga-internal.h #41346

Closed
wants to merge 2 commits into from
Closed

Conversation

NickGerleman
Copy link
Contributor

Summary:
This removes the last remnant from Yoga-interna.h, YGNodeDellocate(). The API is renamed to YGNodeFinalize to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Differential Revision: D51014340

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Nov 7, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51014340

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 7, 2023
Summary:
X-link: facebook/react-native#41346


This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Nov 7, 2023
Summary:

X-link: facebook/yoga#1452

This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51014340

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 7, 2023
Summary:
X-link: facebook/react-native#41346


This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Nov 7, 2023
Summary:

X-link: facebook/yoga#1452

This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51014340

@analysis-bot
Copy link

analysis-bot commented Nov 7, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 17,641,861 -708
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 21,021,613 -709
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 5f65f21
Branch: main

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 7, 2023
Summary:
X-link: facebook/react-native#41346


This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Nov 7, 2023
Summary:

X-link: facebook/yoga#1452

This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51014340

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 7, 2023
Summary:
X-link: facebook/react-native#41346


This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Nov 7, 2023
Summary:

X-link: facebook/yoga#1452

This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51014340

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 7, 2023
Summary:
X-link: facebook/react-native#41346


This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Nov 7, 2023
Summary:

X-link: facebook/yoga#1452

This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51014340

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 7, 2023
Summary:
X-link: facebook/react-native#41346


This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Nov 7, 2023
Summary:

X-link: facebook/yoga#1452

This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51014340

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 7, 2023
Summary:
X-link: facebook/react-native#41346


This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Nov 7, 2023
Summary:

X-link: facebook/yoga#1452

This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51014340

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 7, 2023
Summary:
X-link: facebook/react-native#41346


This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Nov 7, 2023
Summary:

X-link: facebook/yoga#1452

This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51014340

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 7, 2023
Summary:
X-link: facebook/react-native#41346


This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Nov 7, 2023
Summary:

X-link: facebook/yoga#1452

This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51014340

Summary:

X-link: facebook/yoga#1448

This should not be part of Yoga's API. If benchmarks want to do this, they still can (though I don't know the ones we have for it are super valuable).

Reviewed By: javache

Differential Revision: D50963933
Summary:

X-link: facebook/yoga#1452

This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Nov 8, 2023
Summary:
X-link: facebook/react-native#41346


This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51014340

facebook-github-bot pushed a commit to facebook/litho that referenced this pull request Nov 8, 2023
Summary:
X-link: facebook/react-native#41346

X-link: facebook/yoga#1452

This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340

fbshipit-source-id: 553f04b62c78b76f9102cd6197146650955aeec5
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Nov 8, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 5a7ae61.

facebook-github-bot pushed a commit to facebook/yoga that referenced this pull request Nov 8, 2023
Summary:
X-link: facebook/react-native#41346

Pull Request resolved: #1452

This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340

fbshipit-source-id: 553f04b62c78b76f9102cd6197146650955aeec5
Othinn pushed a commit to Othinn/react-native that referenced this pull request Jan 9, 2024
Summary:
Pull Request resolved: facebook#41346

X-link: facebook/yoga#1452

This removes the last remnant from `Yoga-interna.h`, `YGNodeDellocate()`. The API is renamed to `YGNodeFinalize` to give it the explicit purpose of freeing the node from a garbage collector, and made public with that documented contract.

With that, every top-level header is now a public API, and Yoga's JNI bindings do not need to rely on private headers anymore.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D51014340

fbshipit-source-id: 553f04b62c78b76f9102cd6197146650955aeec5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants