pub fn error_message(ptr: *const c_char) -> String