From c99546e88f376cadd920a2082c85ae1b9c717461 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz <jakob@collabora.com> Date: Wed, 11 Mar 2020 22:00:41 +0000 Subject: [PATCH] xrt: Add some docu to refcount function --- src/xrt/include/xrt/xrt_frame.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/xrt/include/xrt/xrt_frame.h b/src/xrt/include/xrt/xrt_frame.h index 746b23ee9..fe1c23195 100644 --- a/src/xrt/include/xrt/xrt_frame.h +++ b/src/xrt/include/xrt/xrt_frame.h @@ -97,8 +97,13 @@ struct xrt_frame_context */ /*! - * Update the reference count on a frame. + * Update the reference counts on frame(s). * + * @param dst Pointer to a object reference, if the object reference is + * non-null will decrement it's counter. The reference that + * @p dst points to will be set to @p src. + * @param[in] src Object to be have it's refcount increased @p dst is set to + * this. * @ingroup xrt_iface */ static inline void