Function libinput_tablet_tool_ref
pub unsafe extern "C" fn libinput_tablet_tool_ref(
tool: *mut libinput_tablet_tool,
) -> *mut libinput_tablet_tool
Expand description
@ingroup event_tablet
Increment the reference count of the tool by one. A tool is destroyed whenever the reference count reaches 0. See libinput_tablet_tool_unref().
@param tool The tool to increment the ref count of @return The passed tool
@see libinput_tablet_tool_unref
@since 1.2