rtpsw commented on code in PR #13500:
URL: https://github.com/apache/arrow/pull/13500#discussion_r912826962


##########
python/pyarrow/lib.pxd:
##########
@@ -611,3 +623,6 @@ cdef public shared_ptr[CTensor] 
pyarrow_unwrap_tensor(object tensor)
 
 cdef public shared_ptr[CRecordBatch] pyarrow_unwrap_batch(object batch)
 cdef public shared_ptr[CTable] pyarrow_unwrap_table(object table)
+
+cdef public CFunctionRegistry* pyarrow_unwrap_function_registry(object 
registry)

Review Comment:
   This has crossed my mind when I was working on the code of this PR. I also 
think a `shared_ptr` would make things easier but will require changes across 
Py/Arrow that are likely better handled in a dedicated PR.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to