summaryrefslogtreecommitdiff
path: root/Documentation/coding-style.rst
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-02-27 22:52:39 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-03-01 15:44:35 +0200
commit40439a933fa7fe0c968a5ea502aeff23e079934d (patch)
tree56c6f9c0aada266e044ac46323e6cac582b1ee58 /Documentation/coding-style.rst
parentfedad60b7658a1213561105f0c72fe21d21be2dd (diff)
libcamera: pipeline_handler: Pass a non-const Camera to methods
The start(), stop() and queueRequest() methods receive a const pointer to the related Camera object. The stop() request will need to modify the state of the camera, in order to report completion of pending requests. Un-constify the Camera pointer to that method, and update the start() and queueRequest() methods similarly for coherency. 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 'Documentation/coding-style.rst')
0 files changed, 0 insertions, 0 deletions