xrt: Improve docs for ref-counting functions.

This commit is contained in:
Ryan Pavlik 2021-11-03 17:27:56 -05:00
parent 334bd83619
commit afc2af549f
2 changed files with 8 additions and 8 deletions

View file

@ -409,11 +409,11 @@ struct xrt_swapchain
/*!
* Update the reference counts on swapchain(s).
*
* @param dst Pointer to a object reference, if the object reference is
* non-null will decrement it's counter. The reference that
* @param[in,out] dst Pointer to a object reference: if the object reference is
* non-null will decrement its 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.
* @param[in] src New object for @p dst to refer to (may be null).
* If non-null, will have its refcount increased.
* @ingroup xrt_iface
* @relates xrt_swapchain
*/

View file

@ -119,11 +119,11 @@ struct xrt_frame_context
/*!
* 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
* @param[in,out] dst Pointer to a object reference: if the object reference is
* non-null will decrement its 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.
* @param[in] src New object for @p dst to refer to (may be null).
* If non-null, will have its refcount increased.
* @ingroup xrt_iface
* @relates xrt_frame
*/