pybind11/include/pybind11
Jan Dohl ab92eb3765 Fixed py:array constructor from failing for complex types
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.
2015-12-15 04:16:49 +01:00
..
cast.h don't allow 'void' or 'void*' as a function argument 2015-12-13 13:09:42 +01:00
common.h do a fallback search over types to handle incompatible std::type_info* across module boundaries (fixes issue #4) 2015-10-22 16:04:53 +02:00
complex.h consistent macro naming throughout the project 2015-10-18 16:48:30 +02:00
functional.h functional.h: support more kinds of Python functions 2015-11-16 18:39:43 +01:00
numpy.h Fixed py:array constructor from failing for complex types 2015-12-15 04:16:49 +01:00
operators.h work around weird macro substitution issue on GCC (fixes issue #7) 2015-10-22 21:38:32 +02:00
pybind11.h improved shared pointer support (fixes #14) 2015-11-24 23:18:32 +01:00
pytypes.h generic integer type handling 2015-11-30 12:45:34 +01:00
stl.h Improved STL support, support for std::set 2015-11-14 19:04:49 +01:00
typeid.h last breaking change: be consistent about the project name 2015-10-15 18:23:56 +02:00