diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-03 20:56:05 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-07 22:29:30 +0200 |
commit | 621edb2367e81860f6b6e89243ad7cbe3e0b6b7f (patch) | |
tree | 605a41db32c6a97fe14abd378561281ff44906aa /src/v4l2 | |
parent | 257bea076c5261059fc318cad101f2315634607b (diff) |
libcamera: bound_method: Support bindings to non-void methods
The bound method implementation is restricted to binding to void methods
as return values are not supported. This complicates usage of bound
methods, as non-void methods used a slots or Object::invokeMethod()
targets need to be wrapped in a void method. Simplify this by supporting
arbitrary return types and ignoring the return value.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/v4l2')
0 files changed, 0 insertions, 0 deletions