diff options
Diffstat (limited to 'src/py/libcamera/py_properties_generated.cpp.in')
-rw-r--r-- | src/py/libcamera/py_properties_generated.cpp.in | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/py/libcamera/py_properties_generated.cpp.in b/src/py/libcamera/py_properties_generated.cpp.in index 044b2b2a..e3802b81 100644 --- a/src/py/libcamera/py_properties_generated.cpp.in +++ b/src/py/libcamera/py_properties_generated.cpp.in @@ -9,7 +9,7 @@ #include <libcamera/property_ids.h> -#include <pybind11/smart_holder.h> +#include <pybind11/pybind11.h> namespace py = pybind11; @@ -17,14 +17,12 @@ class PyProperties { }; -class PyDraftProperties -{ -}; +${vendors_class_def} void init_py_properties_generated(py::module& m) { auto controls = py::class_<PyProperties>(m, "properties"); - auto draft = py::class_<PyDraftProperties>(controls, "draft"); +${vendors_defs} ${controls} } |