Correct documentation for ei_touch_(get|set)_user_data

This commit is contained in:
Jason Gerecke 2023-09-06 21:16:08 +00:00
parent d9d4630567
commit 0820e29bd5

View file

@ -1698,8 +1698,9 @@ ei_touch_unref(struct ei_touch *touch);
/**
* @ingroup libei-sender
*
* Return the custom data pointer for this context. libei will not look at or
* modify the pointer. Use ei_touch_set_user_data() to change the user data.
* Set a custom data pointer for this context. libei will not look at or
* modify the pointer. Use ei_touch_get_user_data() to retrieve a previously
* set user data.
*/
void
ei_touch_set_user_data(struct ei_touch *touch, void *user_data);
@ -1707,9 +1708,8 @@ ei_touch_set_user_data(struct ei_touch *touch, void *user_data);
/**
* @ingroup libei-sender
*
* Set a custom data pointer for this context. libei will not look at or
* modify the pointer. Use ei_touch_get_user_data() to retrieve a previously
* set user data.
* Return the custom data pointer for this context. libei will not look at or
* modify the pointer. Use ei_touch_set_user_data() to change the user data.
*/
void *
ei_touch_get_user_data(struct ei_touch *touch);