Function libinput_tablet_tool_unref
pub unsafe extern "C" fn libinput_tablet_tool_unref(
tool: *mut libinput_tablet_tool,
) -> *mut libinput_tablet_tool
Expand description
@ingroup event_tablet
Decrement the reference count of the tool by one. When the reference count of the tool reaches 0, the memory allocated for the tool will be freed.
@param tool The tool to decrement the ref count of @return NULL if the tool was destroyed otherwise the passed tool
@see libinput_tablet_tool_ref
@since 1.2