@@ -244,15 +244,15 @@ int32_t ListArray__value_length(const std::shared_ptr<arrow::ListArray>& array,
244244}
245245
246246// [[arrow::export]]
247- int64_t LargeListArray__value_length (const std::shared_ptr<arrow::LargeListArray>& array,
248- int64_t i) {
249- return array->value_length (i);
247+ r_vec_size LargeListArray__value_length (
248+ const std::shared_ptr<arrow::LargeListArray>& array, int64_t i) {
249+ return r_vec_size ( array->value_length (i) );
250250}
251251
252252// [[arrow::export]]
253- int64_t FixedSizeListArray__value_length (
253+ r_vec_size FixedSizeListArray__value_length (
254254 const std::shared_ptr<arrow::FixedSizeListArray>& array, int64_t i) {
255- return array->value_length (i);
255+ return r_vec_size ( array->value_length (i) );
256256}
257257
258258// [[arrow::export]]
@@ -262,15 +262,15 @@ int32_t ListArray__value_offset(const std::shared_ptr<arrow::ListArray>& array,
262262}
263263
264264// [[arrow::export]]
265- int64_t LargeListArray__value_offset (const std::shared_ptr<arrow::LargeListArray>& array,
266- int64_t i) {
267- return array->value_offset (i);
265+ r_vec_size LargeListArray__value_offset (
266+ const std::shared_ptr<arrow::LargeListArray>& array, int64_t i) {
267+ return r_vec_size ( array->value_offset (i) );
268268}
269269
270270// [[arrow::export]]
271- int64_t FixedSizeListArray__value_offset (
271+ r_vec_size FixedSizeListArray__value_offset (
272272 const std::shared_ptr<arrow::FixedSizeListArray>& array, int64_t i) {
273- return array->value_offset (i);
273+ return r_vec_size ( array->value_offset (i) );
274274}
275275
276276// [[arrow::export]]
@@ -319,8 +319,8 @@ bool Array__Same(const std::shared_ptr<arrow::Array>& x,
319319}
320320
321321// [[arrow::export]]
322- int64_t Array__ReferencedBufferSize (const std::shared_ptr<arrow::Array>& x) {
323- return ValueOrStop (arrow::util::ReferencedBufferSize (*x));
322+ r_vec_size Array__ReferencedBufferSize (const std::shared_ptr<arrow::Array>& x) {
323+ return r_vec_size ( ValueOrStop (arrow::util::ReferencedBufferSize (*x) ));
324324}
325325
326326// [[arrow::export]]
0 commit comments