summaryrefslogtreecommitdiffstats
path: root/zix/ring.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-01-31 22:28:18 +0000
committerDavid Robillard <d@drobilla.net>2012-01-31 22:28:18 +0000
commitfe3491419b084c2d41ad9f29274325e6c0043856 (patch)
treee50dcaea6879029f2a80f3b8884a36620ecea55d /zix/ring.h
parent86826ae6733119d462be9f3642161db895756643 (diff)
downloadzix-fe3491419b084c2d41ad9f29274325e6c0043856.tar.gz
zix-fe3491419b084c2d41ad9f29274325e6c0043856.tar.bz2
zix-fe3491419b084c2d41ad9f29274325e6c0043856.zip
Windows/Visual C++ portability.
git-svn-id: http://svn.drobilla.net/zix/trunk@51 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
Diffstat (limited to 'zix/ring.h')
-rw-r--r--zix/ring.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/zix/ring.h b/zix/ring.h
index 3abb1e8..34ba2fa 100644
--- a/zix/ring.h
+++ b/zix/ring.h
@@ -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 */