zephyr/lib/gui/lvgl
Peter Bigot b6dafeb612 include/lvgl: rearrange for standard use of extern "C"
Consistently place C++ use of extern "C" after all include directives,
within the negative branch of _ASMLANGUAGE if used.

Background from issue #17997:

Declarations that use C linkage should be placed within extern "C"
so the language linkage is correct when the header is included by
a C++ compiler.

Similarly #include directives should be outside the extern "C" to
ensure the language-specific default linkage is applied to any
declarations provided by the included header.

See: https://en.cppreference.com/w/cpp/language/language_linkage
Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2019-08-13 18:00:31 +02:00
..
CMakeLists.txt gui: Add support for lvgl API version 6 2019-08-09 07:35:38 -05:00
Kconfig gui: Disable LVGL features by default 2019-08-09 07:35:38 -05:00
Kconfig.fonts gui: Add support for lvgl API version 6 2019-08-09 07:35:38 -05:00
Kconfig.objects gui: Disable LVGL features by default 2019-08-09 07:35:38 -05:00
Kconfig.themes
lv_conf.h gui: Add support for lvgl API version 6 2019-08-09 07:35:38 -05:00
lvgl_display_16bit.c gui: Add support for lvgl API version 6 2019-08-09 07:35:38 -05:00
lvgl_display_24bit.c gui: Add support for lvgl API version 6 2019-08-09 07:35:38 -05:00
lvgl_display_32bit.c gui: Add support for lvgl API version 6 2019-08-09 07:35:38 -05:00
lvgl_display_mono.c gui: Add support for lvgl API version 6 2019-08-09 07:35:38 -05:00
lvgl_display.c gui: Add support for lvgl API version 6 2019-08-09 07:35:38 -05:00
lvgl_display.h gui: Add support for lvgl API version 6 2019-08-09 07:35:38 -05:00
lvgl_fs.c gui: Corrected paths in Zephyr to LVGL FS mapping 2019-08-09 07:35:38 -05:00
lvgl_fs.h
lvgl_mem_kernel.c cleanup: include/: move misc/mempool.h to sys/mempool.h 2019-06-27 22:55:49 -04:00
lvgl_mem_user.c cleanup: include/: move misc/mempool.h to sys/mempool.h 2019-06-27 22:55:49 -04:00
lvgl_mem.h include/lvgl: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
lvgl.c gui: Add support for lvgl API version 6 2019-08-09 07:35:38 -05:00