eerhardt commented on code in PR #35810:
URL: https://github.com/apache/arrow/pull/35810#discussion_r1255013278
##########
csharp/src/Apache.Arrow/C/CArrowArrayStream.cs:
##########
@@ -35,15 +35,23 @@ public unsafe struct CArrowArrayStream
///
/// Return value: 0 if successful, an `errno`-compatible error code
otherwise.
///</summary>
- public delegate* unmanaged[Stdcall]<CArrowArrayStream*, CArrowSchema*,
int> get_schema;
Review Comment:
I don't fully follow. If I wanted to take some C arrow data (let's say
coming from C++) and natively work with it - not using the "normal" C#
ArrowTypes, Schema, RecordBatches, etc. but instead manually calling into the
native functions on the CArrowArrayStream, that is no longer possible? Why not?
The reason for interoping at the native layer would be for performance - I
wouldn't need to allocate a bunch of managed objects just to interact with the
Arrow information coming from some other library.
--
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]