Put libinput_event_destroy() together with other event functions

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
Jonas Ådahl 2013-12-08 16:30:13 +01:00
parent ef2deab618
commit 67455487f8

View file

@ -167,6 +167,16 @@ struct libinput_event_touch_touch;
* @defgroup event Acessing and destruction of events
*/
/**
* @ingroup event
*
* Destroy the event.
*
* @param event An event retrieved by libinput_get_event().
*/
void
libinput_event_destroy(struct libinput_event *event);
enum libinput_event_type
libinput_event_get_type(struct libinput_event *event);
@ -446,20 +456,6 @@ libinput_suspend(struct libinput *libinput);
void
libinput_destroy(struct libinput *libinput);
/**
* @defgroup event Acessing and destruction of events
*/
/**
* @ingroup event
*
* Destroy the event.
*
* @param event An event retrieved by libinput_get_event().
*/
void
libinput_event_destroy(struct libinput_event *event);
/**
* @defgroup seat Initialization and manipulation of seats
*/