Mercurial > hg > nnchat
diff th_util.c @ 281:8ae649a4b738
Comment.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 09 Jun 2011 19:31:13 +0300 |
parents | 1807059fb8f2 |
children | 18e292701db4 |
line wrap: on
line diff
--- a/th_util.c Thu Jun 09 17:41:11 2011 +0300 +++ b/th_util.c Thu Jun 09 19:31:13 2011 +0300 @@ -396,6 +396,9 @@ } +/* + * Ringbuffers + */ qringbuf_t * th_ringbuf_new(const size_t size, void (*mdeallocator)(void *data)) { qringbuf_t *res = th_calloc(1, sizeof(qringbuf_t)); @@ -441,4 +444,3 @@ } } -