diff options
Diffstat (limited to 'zix/ring.h')
-rw-r--r-- | zix/ring.h | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -21,6 +21,17 @@ #include "zix/common.h" +#ifdef __cplusplus +extern "C" { +#endif + +/** + @addtogroup zix + @{ + @name Ring + @{ +*/ + /** A lock-free ring buffer. @@ -107,4 +118,13 @@ zix_ring_skip(ZixRing* ring, uint32_t size); uint32_t zix_ring_write(ZixRing* ring, const void* src, uint32_t size); +/** + @} + @} +*/ + +#ifdef __cplusplus +} /* extern "C" */ +#endif + #endif /* ZIX_RING_H */ |