libcamera/include
Laurent Pinchart df1d955d24 libcamera: log: Use compiler builtins to retrieve file and line number
Replace the __FILE__ and __LINE__ values passed to the _log() function
with default parameters, taking their values from the __builtin_FILE()
and __builtin_LINE() functions. This moves handling of the file and line
from the preprocessor to the compiler, which is generally preferred as
it increases type safety.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Sebastian Fricke <sebastian.fricke@posteo.net>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2021-04-15 00:04:54 +03:00
..
android licenses: License all meson files under CC0-1.0 2020-05-13 16:46:24 +03:00
libcamera libcamera: log: Use compiler builtins to retrieve file and line number 2021-04-15 00:04:54 +03:00
linux include: linux: Update Linux headers to v5.12-rc1 2021-03-03 19:41:04 +02:00
meson.build libcamera: Move IPA headers from include/ipa/ to include/libcamera/ipa/ 2020-05-16 03:38:47 +03:00