Library for Yodiwo's Plegma API
Revision 8:710e7fa99666, committed 2015-09-28
- Comitter:
- mitsarionas
- Date:
- Mon Sep 28 08:53:12 2015 +0000
- Parent:
- 7:a121e995f5e1
- Commit message:
- fix: c linkage
Changed in this revision
yodiwo_helpers.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/yodiwo_helpers.h Thu Sep 24 14:19:59 2015 +0000 +++ b/yodiwo_helpers.h Mon Sep 28 08:53:12 2015 +0000 @@ -2,6 +2,10 @@ #ifndef _YODIWO_API_HELPERS_H_ #define _YODIWO_API_HELPERS_H_ +#ifdef __cplusplus +extern "C" { +#endif + #include "yodiwo_api.h" #define YODIWO_API_VERSION_STR "1" @@ -43,6 +47,9 @@ int fill_ThingKey(Yodiwo_Plegma_Thing_t *thing, char *nodeKey, int thingId); int fill_Thing_Keys(Yodiwo_Plegma_Thing_t *thing, char *nodeKey, int thingId); +#ifdef __cplusplus +} +#endif #endif /* _Yodiwo_Plegma_HELPERS_H_ */