diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-05-24 18:29:32 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-06-16 02:43:47 +0300 |
commit | d6d0a675bfe27420d14394ef6b0da5247ea63d87 (patch) | |
tree | ff4e62ad8017165de3bb76925cc7baa0cf97b9c1 /utils/gen-formats.py | |
parent | 27fb47f70b55000fbd793c40377c20d915216f70 (diff) |
libcamera: yaml_parser: Switch from FILE to File
THe FILE object isn't very user-friendly as it requires manual close.
Replace it with File to provide RAII-style resource management in the
YamlParser API.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'utils/gen-formats.py')
0 files changed, 0 insertions, 0 deletions