Files
external_libcamera/src/py/libcamera/py_properties_generated.cpp.in
Tomi Valkeinen a69b73cc58 py: Generate bindings for properties
Generate bindings for properties in a very similar way as done for
controls. We do need to distinguish between the two, and thus I added
--properties flag to gen-py-controls.py.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2022-05-27 22:03:44 +03:00

31 lines
571 B
C++

/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2022, Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
*
* Python bindings - Auto-generated properties
*
* This file is auto-generated. Do not edit.
*/
#include <libcamera/property_ids.h>
#include <pybind11/smart_holder.h>
namespace py = pybind11;
class PyProperties
{
};
class PyDraftProperties
{
};
void init_py_properties_generated(py::module& m)
{
auto controls = py::class_<PyProperties>(m, "properties");
auto draft = py::class_<PyDraftProperties>(controls, "draft");
${controls}
}