You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2021/07/27 11:10:53 UTC
[arrow-rs] branch master updated: make FFI_ArrowArray::empty()
public (#612)
This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push:
new 42a7163 make FFI_ArrowArray::empty() public (#612)
42a7163 is described below
commit 42a71638742356a86addb28c53a0f2731db2496f
Author: Wang Fenjin <wa...@gmail.com>
AuthorDate: Tue Jul 27 19:10:16 2021 +0800
make FFI_ArrowArray::empty() public (#612)
Change-Id: I9e6672ad8c1419481cb8a063f2af3a2f53cf16cd
---
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,