pybind11/tests/test_embed
Yannick Jadoul d65e34d61d
Resolve empty statement warning when using PYBIND11_OVERLOAD_PURE_NAME and PYBIND11_OVERLOAD_PURE (#2325)
* Wrap PYBIND11_OVERLOAD_NAME and PYBIND11_OVERLOAD_PURE_NAME in do { ... } while (false), and resolve trailing semicolon

* Deprecate PYBIND11_OVERLOAD_* and get_overload in favor of PYBIND11_OVERRIDE_* and get_override

* Correct erroneous usage of 'overload' instead of 'override' in the implementation and internals

* Fix tests to use non-deprecated PYBIND11_OVERRIDE_* macros

* Update docs to use override instead of overload where appropriate, and add warning about deprecated aliases

* Add semicolons to deprecated PYBIND11_OVERLOAD macros to match original behavior

* Remove deprecation of PYBIND11_OVERLOAD_* macros and get_overload

* Add note to changelog and upgrade guide
2020-09-15 14:56:20 +02:00
..
CMakeLists.txt tests: avoid putting build products into source directory (#2353) 2020-08-19 13:11:57 -04:00
catch.cpp Fix compatibility with catch v2 2018-07-19 16:12:39 -03:00
external_module.cpp Fix segfault when reloading interpreter with external modules (#1092) 2018-01-11 19:46:10 -04:00
test_interpreter.cpp Resolve empty statement warning when using PYBIND11_OVERLOAD_PURE_NAME and PYBIND11_OVERLOAD_PURE (#2325) 2020-09-15 14:56:20 +02:00
test_interpreter.py ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00