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 #1452

Closed
wants to merge 2 commits into from

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
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

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/react-native#41305


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/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 8, 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

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 pushed a commit to facebook/react-native that referenced this pull request Nov 8, 2023
Summary:
Pull Request resolved: #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
Copy link
Contributor

This pull request has been merged in 12a8d16.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants