Ralf W. Grosse-Kunstleve
bd8985aa0f
[smart_holder] Introduce PYBIND11_SMART_HOLDER_DISABLE option. ( #5348 )
...
* Step 1: Establish new `PYBIND11_SMART_HOLDER_ENABLED` macro, but only under include/pybind11/
At the stage `PYBIND11_HAS_INTERNALS_WITH_SMART_HOLDER_SUPPORT` and `PYBIND11_SMART_HOLDER_ENABLED` are still equivalent.
* Systematically replace all `PYBIND11_HAS_INTERNALS_WITH_SMART_HOLDER_SUPPORT` with `PYBIND11_SMART_HOLDER_ENABLED` under tests/ and ubench/
As at the previous stage, `PYBIND11_HAS_INTERNALS_WITH_SMART_HOLDER_SUPPORT` and `PYBIND11_SMART_HOLDER_ENABLED` are still equivalent.
* Introduce `PYBIND11_SMART_HOLDER_DISABLE` option.
* `#ifdef` out entire `wrap()` function to avoid `unused-parameter` warning-as-error under macos-13
```
/Users/runner/work/pybind11/pybind11/tests/test_class_sh_trampoline_basic.cpp:67:23: error: unused parameter 'm' [-Werror,-Wunused-parameter]
void wrap(py::module_ m, const char *py_class_name) {
^
/Users/runner/work/pybind11/pybind11/tests/test_class_sh_trampoline_basic.cpp:67:38: error: unused parameter 'py_class_name' [-Werror,-Wunused-parameter]
void wrap(py::module_ m, const char *py_class_name) {
^
2 errors generated.
```
2024-09-01 14:34:36 -07:00
..
2024-08-28 20:57:38 -07:00
2024-06-22 00:55:00 -04:00
2024-08-17 14:02:39 -07:00
2024-08-14 18:21:04 -04:00
2024-07-31 06:17:31 -07:00
2024-08-28 20:57:38 -07:00
2024-06-22 00:55:00 -04:00
2024-07-29 11:10:03 -07:00
2024-06-18 13:54:38 -07:00
2024-06-18 13:54:38 -07:00
2024-06-18 13:54:38 -07:00
2024-06-22 00:55:00 -04:00
2024-08-22 00:27:50 -04:00
2022-02-10 12:17:07 -08:00
2024-06-18 13:54:38 -07:00
2024-06-18 13:54:38 -07:00
2024-06-24 08:59:55 -07:00
2024-08-14 18:21:04 -04:00
2024-05-24 12:26:40 -04:00
2024-07-30 09:18:35 -07:00
2022-02-10 12:17:07 -08:00
2024-07-18 14:50:38 -04:00
2023-05-23 10:49:32 -07:00
2024-06-22 00:55:00 -04:00
2024-06-11 14:12:14 -07:00
2024-07-30 09:18:35 -07:00
2024-06-22 00:55:00 -04:00
2024-06-22 00:55:00 -04:00
2024-08-22 00:27:50 -04:00
2024-07-18 14:50:38 -04:00
2022-02-10 12:17:07 -08:00
2024-06-22 00:55:00 -04:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-09-01 14:34:36 -07:00
2024-07-31 06:17:31 -07:00
2022-02-14 11:36:22 -08:00
2024-06-22 00:55:00 -04:00
2024-03-26 13:57:05 -04:00
2024-06-22 00:55:00 -04:00
2024-06-24 08:59:55 -07:00
2024-06-24 08:59:55 -07:00
2024-04-02 11:14:08 -04:00
2024-06-22 00:55:00 -04:00
2021-09-24 12:08:22 -07:00
2024-06-22 00:55:00 -04:00
2024-04-02 11:14:08 -04:00
2024-06-22 00:55:00 -04:00
2024-08-22 00:27:50 -04:00
2024-06-22 00:55:00 -04:00
2022-12-20 05:34:00 -08:00
2024-07-29 11:10:03 -07:00
2024-06-22 00:55:00 -04:00
2022-02-10 12:17:07 -08:00
2024-06-22 00:55:00 -04:00
2024-06-22 00:55:00 -04:00
2022-02-10 12:17:07 -08:00
2024-06-22 00:55:00 -04:00
2024-03-27 12:39:05 -07:00
2023-08-07 20:48:20 -07:00
2024-07-30 09:18:35 -07:00
2024-07-31 06:17:31 -07:00
2024-07-31 06:17:31 -07:00
2022-10-30 08:57:23 -07:00
2024-07-18 14:50:38 -04:00
2022-02-14 11:36:22 -08:00
2024-07-18 14:50:38 -04:00
2024-05-28 09:07:59 -04:00
2024-06-22 00:55:00 -04:00
2022-02-10 12:17:07 -08:00
2024-06-22 00:55:00 -04:00
2024-07-31 06:17:31 -07:00
2024-07-31 06:17:31 -07:00
2024-07-29 11:10:03 -07:00
2024-06-22 00:55:00 -04:00
2024-07-31 06:17:31 -07:00
2024-06-22 00:55:00 -04:00
2024-04-02 11:14:08 -04:00
2024-06-22 00:55:00 -04:00
2024-07-29 11:10:03 -07:00
2024-06-22 00:55:00 -04:00
2022-05-26 11:07:40 -04:00
2024-06-22 00:55:00 -04:00
2024-08-22 00:27:50 -04:00
2024-06-22 00:55:00 -04:00
2022-11-28 07:39:38 -08:00
2024-06-22 00:55:00 -04:00
2022-05-02 12:39:36 -07:00
2024-06-22 00:55:00 -04:00
2023-11-08 12:44:04 -08:00
2024-06-22 00:55:00 -04:00
2024-08-21 15:33:06 -04:00
2024-08-25 23:36:03 -04:00
2024-08-22 00:27:50 -04:00
2024-06-22 00:55:00 -04:00
2024-08-22 00:27:50 -04:00
2024-07-31 06:17:31 -07:00
2024-04-02 11:14:08 -04:00
2024-06-22 00:55:00 -04:00
2024-08-22 00:27:50 -04:00
2024-08-14 22:30:29 -07:00
2024-08-22 00:27:50 -04:00
2024-06-22 00:55:00 -04:00
2024-05-10 17:03:51 -04:00
2024-07-18 14:50:38 -04:00
2024-06-11 14:00:52 -07:00
2024-06-22 00:55:00 -04:00
2024-08-09 13:28:12 -07:00
2024-08-09 13:28:12 -07:00
2019-06-11 23:28:58 +02:00
2024-06-22 00:55:00 -04:00
2023-04-25 14:03:24 -07:00
2024-06-22 00:55:00 -04:00
2023-04-25 14:03:24 -07:00
2024-06-22 00:55:00 -04:00
2023-04-27 07:24:48 -07:00
2024-06-22 00:55:00 -04:00
2024-08-22 00:27:50 -04:00
2024-07-18 14:50:38 -04:00
2024-08-28 20:55:50 -07:00
2024-08-28 20:55:50 -07:00
2021-07-04 19:58:35 -04:00
2021-01-31 17:29:09 -05:00