| Name |
Last commit
|
Last Update |
|---|---|---|
| docs | ||
| example | ||
| include/pybind11 | ||
| tools | ||
| .appveyor.yml | ||
| .gitignore | ||
| .gitmodules | ||
| .travis.yml | ||
| CMakeLists.txt | ||
| LICENSE | ||
| MANIFEST.in | ||
| README.md | ||
| logo.png | ||
| setup.cfg | ||
| setup.py |
The array(const buffer_info &info) constructor fails when given
complex types since their format string is 'Zd' or 'Zf' which has
a length of two and causes an error here:
if (info.format.size() != 1)
throw std::runtime_error("Unsupported buffer format!");
Fixed by allowing format sizes of one and two.
| Name |
Last commit
|
Last Update |
|---|---|---|
| docs | Loading commit data... | |
| example | Loading commit data... | |
| include/pybind11 | Loading commit data... | |
| tools | Loading commit data... | |
| .appveyor.yml | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .gitmodules | Loading commit data... | |
| .travis.yml | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| LICENSE | Loading commit data... | |
| MANIFEST.in | Loading commit data... | |
| README.md | Loading commit data... | |
| logo.png | Loading commit data... | |
| setup.cfg | Loading commit data... | |
| setup.py | Loading commit data... |