summaryrefslogtreecommitdiffstats
path: root/include/zix/ring.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-11-17 12:07:21 -0500
committerDavid Robillard <d@drobilla.net>2022-11-17 12:09:45 -0500
commit68d02a48ea89d45f16f7901bf46849ea923841c0 (patch)
treedcab96020bd40c7e4d663d96701bba470abb08ce /include/zix/ring.h
parente0cb455ac899829cf9fe41bbd6015f5567a9bbcb (diff)
downloadzix-68d02a48ea89d45f16f7901bf46849ea923841c0.tar.gz
zix-68d02a48ea89d45f16f7901bf46849ea923841c0.tar.bz2
zix-68d02a48ea89d45f16f7901bf46849ea923841c0.zip
Improve documentation
Diffstat (limited to 'include/zix/ring.h')
-rw-r--r--include/zix/ring.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/zix/ring.h b/include/zix/ring.h
index 04c3bda..181a7a3 100644
--- a/include/zix/ring.h
+++ b/include/zix/ring.h
@@ -34,8 +34,9 @@ typedef struct ZixRingImpl ZixRing;
/**
Create a new ring.
- @param allocator Allocator for the ring.
- @param size Size in bytes (note this may be rounded up).
+ @param allocator Allocator for the ring object and its array.
+
+ @param size Size of the ring in bytes (note this may be rounded up).
At most `size` - 1 bytes may be stored in the ring at once.
*/