pitrou commented on code in PR #40807:
URL: https://github.com/apache/arrow/pull/40807#discussion_r1551987917


##########
cpp/src/arrow/c/helpers.h:
##########
@@ -115,6 +147,14 @@ inline void ArrowArrayStreamMove(struct ArrowArrayStream* 
src,
   ArrowArrayStreamMarkReleased(src);
 }
 
+inline void ArrowDeviceArrayStreamMove(struct ArrowDeviceArrayStream* src,
+                                       struct ArrowDeviceArrayStream* dest) {
+  assert(dest != src);

Review Comment:
   This is a C file, so any C++ inclusion is out of luck. As for 
`ARROW_C_ASSERT`, good question: it seems meant to also trigger in non-debug 
builds.



-- 
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