add extern c if cpp

pull/157/head
Kai 2 years ago committed by GitHub
parent bee1918ebd
commit 9e525c7475
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -33,6 +33,10 @@
#include <stdbool.h>
#include "struct2json\inc\s2j.h"
#ifdef __cplusplus
extern "C" {
#endif
/* EasyFlash types plugin's software version number */
#define EF_TYPES_SW_VERSION "0.11.03"
@ -73,4 +77,8 @@ EfErrCode ef_set_double_array(const char *key, double *value, size_t len);
EfErrCode ef_set_string_array(const char *key, char **value, size_t len);
EfErrCode ef_set_struct(const char *key, void *value, ef_types_set_cb set_cb);
#ifdef __cplusplus
}
#endif
#endif /* EF_TYPES_H_ */

Loading…
Cancel
Save