pub unsafe fn c_ptr_array_len<P: Ptr>(ptr: *const P) -> usize