MCPcopy Create free account
hub / github.com/apache/arrow / garrow_gio_output_stream_new

Function garrow_gio_output_stream_new

c_glib/arrow-glib/output-stream.cpp:534–546  ·  view source on GitHub ↗

* garrow_gio_output_stream_new: * @gio_output_stream: The stream to be output. * * Returns: (transfer full): A newly created #GArrowGIOOutputStream. */

Source from the content-addressed store, hash-verified

532 * Returns: (transfer full): A newly created #GArrowGIOOutputStream.
533 */
534GArrowGIOOutputStream *
535garrow_gio_output_stream_new(GOutputStream *gio_output_stream)
536{
537 auto arrow_output_stream = std::make_shared<garrow::GIOOutputStream>(gio_output_stream);
538 auto object = g_object_new(GARROW_TYPE_GIO_OUTPUT_STREAM,
539 "output-stream",
540 &arrow_output_stream,
541 "raw",
542 gio_output_stream,
543 NULL);
544 auto output_stream = GARROW_GIO_OUTPUT_STREAM(object);
545 return output_stream;
546}
547
548/**
549 * garrow_gio_output_stream_get_raw:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected