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

Function garrow_input_stream_class_init

c_glib/arrow-glib/input-stream.cpp:210–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210static void
211garrow_input_stream_class_init(GArrowInputStreamClass *klass)
212{
213 auto gobject_class = G_OBJECT_CLASS(klass);
214 gobject_class->finalize = garrow_input_stream_finalize;
215 gobject_class->set_property = garrow_input_stream_set_property;
216 gobject_class->get_property = garrow_input_stream_get_property;
217
218 auto input_stream_class = G_INPUT_STREAM_CLASS(klass);
219 input_stream_class->read_fn = garrow_input_stream_read;
220 input_stream_class->skip = garrow_input_stream_skip;
221 input_stream_class->close_fn = garrow_input_stream_close;
222
223 GParamSpec *spec;
224 spec = g_param_spec_pointer(
225 "input-stream",
226 "Input stream",
227 "The raw std::shared<arrow::io::InputStream> *",
228 static_cast<GParamFlags>(G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
229 g_object_class_install_property(gobject_class, PROP_INPUT_STREAM, spec);
230}
231
232/**
233 * garrow_input_stream_advance:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected