Function wacom_sys::libwacom_new_from_name
[−]
[src]
pub unsafe extern "C" fn libwacom_new_from_name(
db: *const WacomDeviceDatabase,
name: *const c_char,
error: *mut WacomError
) -> *mut WacomDevice
Create a new device reference from the given name. In case of error, NULL is returned and the error is set to the appropriate value.
@param db A device database @param name The name identifying the device @param error If not NULL, set to the error if any occurs
@return A new reference to this device or NULL on error.