Skip to content

Commit

Permalink
[ci skip] Change/add notes: THIS BRANCH IS OBSOLETE.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwgk committed Mar 5, 2025
1 parent aed215c commit 55d9281
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 3 deletions.
20 changes: 17 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,24 @@

.. start
.. Note::
NOTE
----

This is the pybind11 **smart_holder** branch. Please refer to
``README_smart_holder.rst`` for branch-specific information.
**THIS BRANCH IS OBSOLETE.** — It was merged into the pybind11 master branch
with `PR #5542 <https://github.com/pybind/pybind11/pull/5542>`_.

Please switch to pybind11 master or future pybind11 releases.

You will need to remove ``#include <pybind11/smart_holder.h>``
from your code, and these obsolete macros:
``PYBIND11_TYPE_CASTER_BASE_HOLDER``,
``PYBIND11_SMART_HOLDER_TYPE_CASTERS``,
``PYBIND11_SH_AVL``,
``PYBIND11_SH_DEF``.


Overview
--------

**pybind11** is a lightweight header-only library that exposes C++ types
in Python and vice versa, mainly to create Python bindings of existing
Expand Down
14 changes: 14 additions & 0 deletions README_smart_holder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@
pybind11 — smart_holder branch
==============================

NOTE
====

**THIS BRANCH IS OBSOLETE.** — It was merged into the pybind11 master branch
with `PR #5542 <https://github.com/pybind/pybind11/pull/5542>`_.

Please switch to pybind11 master or future pybind11 releases.

You will need to remove ``#include <pybind11/smart_holder.h>``
from your code, and these obsolete macros:
``PYBIND11_TYPE_CASTER_BASE_HOLDER``,
``PYBIND11_SMART_HOLDER_TYPE_CASTERS``,
``PYBIND11_SH_AVL``,
``PYBIND11_SH_DEF``.

Overview
========
Expand Down

0 comments on commit 55d9281

Please sign in to comment.