* RingBuffer_t Buffer;\r
* uint8_t BufferData[128];\r
*\r
- * // Initialise the buffer with the created storage array\r
+ * // Initialize the buffer with the created storage array\r
* RingBuffer_InitBuffer(&Buffer, BufferData, sizeof(BufferData));\r
*\r
* // Insert some data into the buffer\r
/* Includes: */\r
#include "../../Common/Common.h"\r
\r
+ /* Enable C linkage for C++ Compilers: */\r
+ #if defined(__cplusplus)\r
+ extern "C" {\r
+ #endif\r
+\r
/* Type Defines: */\r
/** \brief Ring Buffer Management Structure.\r
*\r
return *Buffer->Out;\r
}\r
\r
+ /* Disable C linkage for C++ Compilers: */\r
+ #if defined(__cplusplus)\r
+ }\r
+ #endif\r
+\r
#endif\r
\r
/** @} */\r