Skip to content

Commit

Permalink
remove copy_ffi_array
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Nov 13, 2023
1 parent b1c43a4 commit c61d270
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arrow/src/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,6 @@ pub fn from_ffi(array: FFI_ArrowArray, schema: &FFI_ArrowSchema) -> Result<Array
tmp.consume()
}

pub fn copy_ffi_array(array: *mut FFI_ArrowArray) -> FFI_ArrowArray {
let x = unsafe { array.as_mut().unwrap() };
x.copy()
}

#[derive(Debug)]
struct ArrowArray<'a> {
array: &'a FFI_ArrowArray,
Expand Down

0 comments on commit c61d270

Please sign in to comment.