Skip to content

Commit

Permalink
docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Nov 13, 2023
1 parent c61d270 commit 6521cba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arrow-data/src/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ impl FFI_ArrowArray {
unsafe { self.dictionary.as_ref() }
}

/// Create a copy of an existing `FFI_ArrowArray`
///
/// As required by the C Data Interface specification, this sets the `release` member of `Self`
/// to `None`, but without calling the release callback.
pub fn copy(&mut self) -> Self {
let new = Self {
length: self.length,
Expand Down

0 comments on commit 6521cba

Please sign in to comment.