bareos: master be367102

Author Committer Branch Timestamp Parent
Andreas Rogge Andreas Rogge master 2022-10-21 20:20 master a84034f4 Pending
Changeset python module: improve field initializers

When initializing PyTypeObject, there are a lot of fields to set. To
avoid problems due to mis-ordering, we change this to use designated
inizializers. While these are not legal in C++17, they're in C99,
available as a compiler extension on virtually any major compiler and
will became legal in C++20.
mod - core/src/ndmp/CMakeLists.txt Diff File
mod - core/src/plugins/filed/python/CMakeLists.txt Diff File
mod - core/src/plugins/filed/python/module/bareosfd.h Diff File