mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
Public headers need the "if __cplusplus, extern C" boilerplate. Otherwise, C++ sources which include the header will look for a name-mangled symbol and fail at link time. Closes https://github.com/espressif/esp-idf/pull/6455 Closes IDFGH-4641