tustvold commented on code in PR #3893:
URL: https://github.com/apache/arrow-rs/pull/3893#discussion_r1143426020


##########
arrow/src/array/ffi.rs:
##########
@@ -66,6 +51,7 @@ pub unsafe fn make_array_from_raw(
 /// This function copies the content of two FFI structs [ffi::FFI_ArrowArray] 
and
 /// [ffi::FFI_ArrowSchema] in the array to the location pointed by the raw 
pointers.
 /// Usually the raw pointers are provided by the array data consumer.
+#[deprecated(note = "Use FFI_ArrowArray::new and FFI_ArrowSchema::try_from")]

Review Comment:
   The above methods are not only safe, but less likely to accidentally leak 
memory



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to