NanoStack lib for Cortex-M4
Dependents: mbedEndpointNetwork mbedEndpointNetworkMJK
Fork of Nanostack_lib by
Diff: inc/dynmem/nsdynmemLIB.h
- Revision:
- 11:1b7aaf37a131
- Parent:
- 4:c449bead5cf3
--- a/inc/dynmem/nsdynmemLIB.h Wed Jun 25 14:47:07 2014 +0000 +++ b/inc/dynmem/nsdynmemLIB.h Wed Jun 25 21:05:58 2014 +0000 @@ -7,7 +7,9 @@ */ #ifndef NSDYNMEMLIB_H_ #define NSDYNMEMLIB_H_ - +#ifdef __cplusplus +extern "C" { +#endif /*! * \enum heap_fail_t * \brief Dynamically heap system failure call back event types. @@ -78,5 +80,8 @@ * \return >0, Pointer to allocated data sector. */ extern void *ns_dyn_mem_alloc(int16_t alloc_size); +#ifdef __cplusplus +} +#endif #endif /* NSDYNMEMLIB_H_ */