·
1 commit
to master
since this release
autowrap 0.24.0
New STL Container Support (C++17):
- Added
std::unordered_map<K,V>converter - maps to Pythondict - Added
std::unordered_set<T>converter - maps to Pythonset - Added
std::deque<T>converter - maps to Pythonlist - Added
std::list<T>converter - maps to Pythonlist - Added
std::optional<T>converter - maps to PythonT | None - Added
std::string_viewconverter - maps to Pythonbytes/str
Other Changes:
- Updated default C++ standard from C++11 to C++17 for compilation
(required forstd::optionalandstd::string_viewsupport) - Fixed converter architecture to properly handle
Nonevalues for
std::optional<T>input parameters - Support for enums with the same name in different C++ namespaces using
scoped enum declarations withwrap-asannotation for renaming - Support for arbitrary key types in
operator[](getitem/setitem), not
just integer types likesize_t - Added support for bitwise operators (
&,|,^) and in-place bitwise
operators (&=,|=,^=)
autowrap 0.23.0
Support for Cython 3.1! This means the removal of some py2 compatibility code, no more python distinction between long and int, some fixes to multiline comment processing.
- Dropped support for Cython versions older than 3.0; autowrap now requires Cython ≥ 3.0 and Python ≥ 3.9.