- 29 May, 2016 7 commits
-
-
Boris Schäling committed
-
Boris Schäling committed
-
Wenzel Jakob committed
-
Wenzel Jakob committed
-
Wenzel Jakob committed
-
Simplify CMake build using add_subdirectory
Wenzel Jakob committed
-
- 28 May, 2016 3 commits
-
-
Boris Schäling committed
-
Boris Schäling committed
-
Dean Moldovan committed
-
- 27 May, 2016 1 commit
-
-
Dean Moldovan committed
-
- 26 May, 2016 9 commits
-
-
Dean Moldovan committed
-
Dean Moldovan committed
-
Boris Schäling committed
-
Wenzel Jakob committed
-
Update document version to the next release 1.8
Wenzel Jakob committed -
Yung-Yu Chen committed
-
Wenzel Jakob committed
-
Sergey Lyskov pointed out that the trampoline mechanism used to override virtual methods from within Python caused unnecessary overheads when instantiating the original (i.e. non-extended) class. This commit removes this inefficiency, but some syntax changes were needed to achieve this. Projects using this features will need to make a few changes: In particular, the example below shows the old syntax to instantiate a class with a trampoline: class_<TrampolineClass>("MyClass") .alias<MyClass>() .... This is what should be used now: class_<MyClass, std::unique_ptr<MyClass, TrampolineClass>("MyClass") .... Importantly, the trampoline class is now specified as the *third* argument to the class_ template, and the alias<..>() call is gone. The second argument with the unique pointer is simply the default holder type used by pybind11.Wenzel Jakob committed -
Wenzel Jakob committed
-
- 25 May, 2016 3 commits
-
-
pybind11::args should have been derived from tuple
Wenzel Jakob committed -
args was derived from list, but cpp_function::dispatcher sends a tuple to it->impl (line #346 and #392 in pybind11.h). As a result args::size() and args::operator[] don't work at all. On my mac args::size() returns -1. Making args a subclass of tuple fixes it.
Yung-Yu Chen committed -
Dean Moldovan committed
-
- 24 May, 2016 5 commits
-
-
Wenzel Jakob committed
-
Wenzel Jakob committed
-
Increase available information on invocation error.
Wenzel Jakob committed -
Andreas Bergmeier committed
-
Andreas Bergmeier committed
-
- 22 May, 2016 4 commits
-
-
Dean Moldovan committed
-
Dean Moldovan committed
-
The function creates a pybind11 module using the specified source files.
Dean Moldovan committed -
Dean Moldovan committed
-
- 21 May, 2016 3 commits
-
-
Wenzel Jakob committed
-
Cache C/C++ compilation
Wenzel Jakob committed -
Omer Katz committed
-
- 20 May, 2016 3 commits
-
-
Wenzel Jakob committed
-
Wenzel Jakob committed
-
Wenzel Jakob committed
-
- 19 May, 2016 2 commits
-
-
Wenzel Jakob committed
-
Fixed typo in NumPy example which prevented compilation
Wenzel Jakob committed
-