Function libinput_device_group_ref
pub unsafe extern "C" fn libinput_device_group_ref(
group: *mut libinput_device_group,
) -> *mut libinput_device_group
Expand description
@ingroup device
Increase the refcount of the device group. A device group will be freed whenever the refcount reaches 0. This may happen during libinput_dispatch() if all devices of this group were removed from the system. A caller must ensure to reference the device group correctly to avoid dangling pointers.
@param group A previously obtained device group @return The passed device group