From 4677de84736aa5a01a4402aed7b2d0d2cf7f242d Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sun, 20 Sep 2015 15:07:50 -0400 Subject: [PATCH] ck_ring: [whitespace] Add comment to PROTOTYPE family. --- include/ck_ring.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/ck_ring.h b/include/ck_ring.h index 62d9f4b..f165dd4 100644 --- a/include/ck_ring.h +++ b/include/ck_ring.h @@ -459,6 +459,10 @@ ck_ring_dequeue_mpsc(struct ck_ring *ring, sizeof(data)); } +/* + * CK_RING_PROTOTYPE is used to define a type-safe interface for inlining + * values of a particular type in the ring the buffer. + */ #define CK_RING_PROTOTYPE(name, type) \ CK_CC_INLINE static bool \ ck_ring_enqueue_spsc_size_##name(struct ck_ring *a, \