From a48a000a3304830e1ccbbc400209ba6e317b45c4 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 7 Apr 2021 15:48:59 +0300 Subject: libcamera: Rename 'method' to 'function' Usage of 'method' to refer to member functions comes from Java. The C++ standard uses the term 'function' only. Replace 'method' with 'function' or 'member function' through the whole code base and documentation. While at it, fix two typos (s/backeng/backend/). The BoundMethod and Object::invokeMethod() are left as-is here, and will be addressed separately. Signed-off-by: Laurent Pinchart Reviewed-by: Paul Elder Acked-by: Kieran Bingham --- Documentation/docs.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation/docs.rst') diff --git a/Documentation/docs.rst b/Documentation/docs.rst index f4c6ec5b..a6e8a59a 100644 --- a/Documentation/docs.rst +++ b/Documentation/docs.rst @@ -310,7 +310,7 @@ Camera Device thus the highest level object exposed by libcamera. Camera Device instances are created by the Camera Devices - Manager. An optional method to create new instances could be exposed + Manager. An optional function to create new instances could be exposed through the public API to speed up initialization when the upper layer knows how to directly address camera devices present in the system. -- cgit v1.2.1