libcamera/src
Laurent Pinchart a2e27f4f2b py: libcamera: Move function declarations to common header
The init_py_*() functions are called by the top-level entry point of the
libcamera Python module to initialize different parts of the bindings.
They are declared in py_main.cpp where they are called, and defined in
separate compilation units. This results in functions being defined
without a corresponding declaration, and will generate warnings when we
enable -Wmissing-declarations.

Fix this by moving the function declarations from py_main.c to
py_main.h, and including py_main.h in the various compilation units that
need it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2024-06-26 12:07:11 +03:00
..
android android: camera_capabilities: Fix GCC 14 warning 2024-05-27 23:53:59 +03:00
apps treewide: Query list of cameras just once 2024-05-21 13:22:33 +01:00
gstreamer treewide: Query list of cameras just once 2024-05-21 13:22:33 +01:00
ipa ipa: rpi: Define local functions in anonymous namespace 2024-06-26 12:07:06 +03:00
libcamera libcamera: yaml_parser: Add support for float types 2024-06-24 22:14:22 +03:00
py py: libcamera: Move function declarations to common header 2024-06-26 12:07:11 +03:00
v4l2 v4l2: v4l2_compat: Move open*() flag check into function 2024-06-25 10:22:00 +03:00
meson.build v4l2: Move the v4l2 compat layer to libexec/libcamera 2023-05-04 20:05:02 +01:00