Function input_sys::libinput_tablet_tool_unref
[−]
[src]
pub unsafe extern fn libinput_tablet_tool_unref(tool: *mut libinput_tablet_tool)
-> *mut libinput_tablet_tool
@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