change _type to *mut c_char for alignment reasons