- 20 Aug, 2017 1 commit
-
-
Dean Moldovan authored
[skip ci]
-
- 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".
-
- 28 May, 2017 1 commit
-
-
Dean Moldovan authored
-
- 31 Jan, 2017 1 commit
-
-
Dean Moldovan authored
* Make 'any' the default markup role for Sphinx docs * Automate generation of reference docs with doxygen and breathe * Improve reference docs coverage
-
- 20 Oct, 2016 1 commit
-
-
Dean Moldovan authored
-
- 08 Jul, 2016 2 commits
-
-
Wenzel Jakob authored
-
Klemens Morgenstern authored
-
- 17 Jan, 2016 1 commit
-
-
Wenzel Jakob authored
- new pybind11::base<> attribute to indicate a subclass relationship - unified infrastructure for parsing variadic arguments in class_ and cpp_function - use 'handle' and 'object' more consistently everywhere
-
- 02 Jan, 2016 1 commit
-
-
Tomasz Miąsko authored
Using object class to hold converted object automatically deallocates object if an exception is thrown or scope is left before constructing complete Python object. Additionally added method object::release() that allows to release ownership of python object without decreasing its reference count.
-
- 28 Dec, 2015 1 commit
-
-
Tomasz Miąsko authored
This gives handle classes a typical pointer semantics with respects to constness.
-
- 26 Dec, 2015 1 commit
-
-
Tomasz Miąsko authored
-
- 18 Oct, 2015 1 commit
-
-
Wenzel Jakob authored
-
- 15 Oct, 2015 1 commit
-
-
Wenzel Jakob authored
-
- 13 Oct, 2015 2 commits
-
-
Wenzel Jakob authored
-
Wenzel Jakob authored
-