"vscode:/vscode.git/clone" did not exist on "44678e5476db5b0d46a03bb4625c03a6ea7e49c8"
- 03 Oct, 2020 1 commit
-
-
Henry Schreiner authored
* WIP: module -> module_ without typedef * refactor: allow py::module to work again
-
- 08 Sep, 2020 1 commit
-
-
Henry Schreiner authored
* ci: only annotate linux for now * style: block some common mistakes
-
- 30 Jun, 2020 1 commit
-
-
Lin Hsu authored
-
- 25 Nov, 2019 2 commits
-
-
Eric Cousineau authored
-
Charles Brossollet authored
* Add FAQ entry, with code example, for dealing with long functions interruption
-
- 10 Jun, 2019 1 commit
-
-
Ivor Wanders authored
* Adds section to the reference. * Adds section to advanced classes page describing how to use `get_overload`.
-
- 13 Nov, 2018 1 commit
-
-
Ahuva Kroizer authored
* Add possible solution to ImportError issue
-
- 11 Sep, 2018 1 commit
-
-
Semen Yesylevskyy authored
* Info about inconsistent detection of Python version between pybind11 and CMake in FAQ
-
- 24 Apr, 2018 1 commit
-
-
David Caron authored
-
- 10 Mar, 2018 1 commit
-
-
Marc Schlaich authored
-
- 17 Nov, 2017 1 commit
-
-
Wenzel Jakob authored
-
- 16 Sep, 2017 1 commit
-
-
Dean Moldovan authored
MSCV does not allow `&typeid(T)` in constexpr contexts, but the string part of the type signature can still be constexpr. In order to avoid `typeid` as long as possible, `descr` is modified to collect type information as template parameters instead of constexpr `typeid`. The actual `std::type_info` pointers are only collected in the end, as a `constexpr` (gcc/clang) or regular (MSVC) function call. Not only does it significantly reduce binary size on MSVC, gcc/clang benefit a little bit as well, since they can skip some intermediate `std::type_info*` arrays.
-
- 14 Aug, 2017 1 commit
-
-
Jason Rhinelander authored
This updates the compilation to always apply hidden visibility to resolve the issues with default visibility causing problems under debug compilations. Moreover using the cmake property makes it easier for a caller to override if absolutely needed for some reason. For `pybind11_add_module` we use cmake to set the property; for the targets, we append to compilation option to non-MSVC compilers.
-
- 29 May, 2017 1 commit
-
-
Dean Moldovan authored
This commit also adds `doc()` to `object_api` as a shortcut for the `attr("__doc__")` accessor. The module macro changes from: ```c++ PYBIND11_PLUGIN(example) { pybind11::module m("example", "pybind11 example plugin"); m.def("add", [](int a, int b) { return a + b; }); return m.ptr(); } ``` to: ```c++ PYBIND11_MODULE(example, m) { m.doc() = "pybind11 example plugin"; m.def("add", [](int a, int b) { return a + b; }); } ``` Using the old macro results in a deprecation warning. The warning actually points to the `pybind11_init` function (since attributes don't bind to macros), but the message should be quite clear: "PYBIND11_PLUGIN is deprecated, use PYBIND11_MODULE".
-
- 13 Dec, 2016 1 commit
-
-
Lori A. Burns authored
-
- 16 Nov, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 22 Oct, 2016 1 commit
-
-
Jason Rhinelander authored
* Remove obsolete example reference * Make example fully-working (except for #includes) Fixes #456.
-
- 21 Sep, 2016 1 commit
-
-
Jason Rhinelander authored
-
- 06 Sep, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 05 Sep, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 03 Jun, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 17 May, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 03 May, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 28 Apr, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 26 Apr, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 18 Apr, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 14 Apr, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 11 Apr, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 15 Mar, 2016 1 commit
-
-
Wenzel Jakob authored
-
- 09 Mar, 2016 2 commits
-
-
Wenzel Jakob authored
-
Wenzel Jakob authored
-