Skip to content

Renaming PYBIND11_SMART_POINTER_HOLDER_TYPE_CASTERS to PYBIND11_TYPE_CASTER_BASE_HOLDER. - #2907

Merged
rwgk merged 1 commit into
pybind:smart_holderfrom
rwgk:sh_renaming_to_type_caster_base_holder
Mar 17, 2021
Merged

Renaming PYBIND11_SMART_POINTER_HOLDER_TYPE_CASTERS to PYBIND11_TYPE_CASTER_BASE_HOLDER.#2907
rwgk merged 1 commit into
pybind:smart_holderfrom
rwgk:sh_renaming_to_type_caster_base_holder

Conversation

@rwgk

@rwgkrwgk commented Mar 17, 2021

Copy link
Copy Markdown
Collaborator

Pure renaming for clarity. NO functional changes.

The main motivation for this change is to make the macro name obviously/outstandingly different from PYBIND11_SMART_HOLDER_TYPE_CASTERS, but I think the new name is also even-more fitting, while also not inventing something completely new; it just combines already established names.

@rwgk

rwgk commented Mar 17, 2021

Copy link
Copy Markdown
CollaboratorAuthor

CI with PYBIND11_USE_SMART_HOLDER_AS_DEFAULT is under #2879

@rwgk

rwgk commented Mar 17, 2021

Copy link
Copy Markdown
CollaboratorAuthor

@rhaschke The CI is green with and without PYBIND11_USE_SMART_HOLDER_AS_DEFAULT. I will merge this now. I hope you'll only need very trivial changes at your end as well.

@rwgk
rwgk merged commit 245d31c into pybind:smart_holderMar 17, 2021
@github-actionsgithub-actionsBot added the needs changelog Possibly needs a changelog entry label Mar 17, 2021
@rwgkrwgk removed the needs changelog Possibly needs a changelog entry label Mar 17, 2021
@rwgk
rwgk deleted the sh_renaming_to_type_caster_base_holder branch March 17, 2021 12:19
@EricCousineau-TRIEricCousineau-TRI added the smart holder See: https://github.com/pybind/pybind11/blob/smart_holder/README_smart_holder.rst label Apr 26, 2021
@rwgkrwgk mentioned this pull request Feb 10, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

smart holderSee: https://github.com/pybind/pybind11/blob/smart_holder/README_smart_holder.rst

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@rwgk@EricCousineau-TRI