summaryrefslogtreecommitdiff
path: root/utils/checkstyle.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-07-12 23:27:07 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-08-03 10:55:20 +0300
commit87c18aab8c32d4ec07ea166721ae847b72f7418a (patch)
tree508e952724332655ed7568951e2b705a819329c3 /utils/checkstyle.py
parenta792512496abbf756354cecc7b564e9733ea3fda (diff)
libcamera: flags: Add type-safe enum-based flags
Add a Flags template class that provide type-safe bitwise operators on enum values. This allows using enum types for bit fields, without giving away type-safety as usually done when storing combined flags in integer variables. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'utils/checkstyle.py')
0 files changed, 0 insertions, 0 deletions