This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch active_release
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/active_release by this push:
     new 239c253  make FFI_ArrowArray::empty() public (#612) (#619)
239c253 is described below

commit 239c253c0c05eb36b763ef9e67b736c1f1af4731
Author: Andrew Lamb <[email protected]>
AuthorDate: Wed Jul 28 08:38:10 2021 -0400

    make FFI_ArrowArray::empty() public (#612) (#619)
    
    Change-Id: I9e6672ad8c1419481cb8a063f2af3a2f53cf16cd
    
    Co-authored-by: Wang Fenjin <[email protected]>
---
 arrow/src/ffi.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arrow/src/ffi.rs b/arrow/src/ffi.rs
index 9815fed..71b6cbe 100644
--- a/arrow/src/ffi.rs
+++ b/arrow/src/ffi.rs
@@ -416,8 +416,8 @@ impl FFI_ArrowArray {
         }
     }
 
-    // create an empty `FFI_ArrowArray`, which can be used to import data into
-    fn empty() -> Self {
+    /// create an empty `FFI_ArrowArray`, which can be used to import data into
+    pub fn empty() -> Self {
         Self {
             length: 0,
             null_count: 0,

Reply via email to