- May 30, 2016
-
-
Wenzel Jakob authored
-
Wenzel Jakob authored
-
Wenzel Jakob authored
-
Wenzel Jakob authored
Fix Cygwin support
-
- May 29, 2016
-
-
Boris Schäling authored
-
Boris Schäling authored
-
Wenzel Jakob authored
-
-
Wenzel Jakob authored
-
Wenzel Jakob authored
-
Wenzel Jakob authored
Simplify CMake build using add_subdirectory
-
- May 28, 2016
-
-
Boris Schäling authored
-
Boris Schäling authored
-
Dean Moldovan authored
-
Dean Moldovan authored
-
- May 27, 2016
-
-
Dean Moldovan authored
-
Dean Moldovan authored
-
Boris Schäling authored
-
- May 26, 2016
-
-
Wenzel Jakob authored
-
Wenzel Jakob authored
Update document version to the next release 1.8
-
Yung-Yu Chen authored
-
Wenzel Jakob authored
-
Wenzel Jakob authored
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 authored
-
- May 25, 2016
-
-
Wenzel Jakob authored
pybind11::args should have been derived from tuple
-
Yung-Yu Chen authored
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.
-
Dean Moldovan authored
-
Wenzel Jakob authored
-
Wenzel Jakob authored
-
- May 24, 2016
-
-
Wenzel Jakob authored
Increase available information on invocation error.
-
Andreas Bergmeier authored
-
Andreas Bergmeier authored
-
- May 23, 2016
-
-
Dean Moldovan authored
-
Dean Moldovan authored
-
Dean Moldovan authored
The function creates a pybind11 module using the specified source files.
-
Dean Moldovan authored
-
- May 21, 2016
-
-
Wenzel Jakob authored
-
Wenzel Jakob authored
Cache C/C++ compilation
-
Omer Katz authored
-
Wenzel Jakob authored
-