summaryrefslogtreecommitdiff
path: root/utils/ipc/generators/mojom_libcamera_generator.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-02-23 16:55:15 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-02-27 11:47:48 +0200
commit6a50c960be774b44a32f566f1f485cf800cc0527 (patch)
tree72f079c25173e5747da75cc81e21a3ff24e3eb7b /utils/ipc/generators/mojom_libcamera_generator.py
parent059bbcdc34e7d887ee02fdd47613bd6e0eb70d16 (diff)
libcamera: utils: Add to_underlying() helper function
C++23 has a std::to_underlying() helper function that converts an enumeration value to its underlying type. Add a compatible implementation to the libcamera::utils namespace. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Diffstat (limited to 'utils/ipc/generators/mojom_libcamera_generator.py')
0 files changed, 0 insertions, 0 deletions