ESP8266 Developer ZoneThe Official ESP8266 Forum2015-08-27T21:02:27+08:00https://bbs.espressif.com:443/feed.php?f=7&t=10152015-08-27T21:02:27+08:002015-08-27T21:02:27+08:00https://bbs.espressif.com:443/viewtopic.php?t=1015&p=3464#p3464 Thanks for your valuable advice !
We will add it !
Statistics: Posted by ESP_Faye — Thu Aug 27, 2015 9:02 pm
#if defined(__cplusplus) extern "C" { #endif /* place function prototypes here */ #if defined(__cplusplus) } #endif Doing so simplifies using the SDK routines in C++ files. While it is true that we users can simply wrap the #includes with the same #ifdef, it is something that is expected to be present in professionally produced code.
Statistics: Posted by dkinzer — Thu Aug 27, 2015 7:23 am