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

Function garrow_stream_decoder_class_init

c_glib/arrow-glib/decoder.cpp:353–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353static void
354garrow_stream_decoder_class_init(GArrowStreamDecoderClass *klass)
355{
356 auto gobject_class = G_OBJECT_CLASS(klass);
357
358 gobject_class->finalize = garrow_stream_decoder_finalize;
359 gobject_class->dispose = garrow_stream_decoder_dispose;
360 gobject_class->set_property = garrow_stream_decoder_set_property;
361 gobject_class->get_property = garrow_stream_decoder_get_property;
362
363 GParamSpec *spec;
364 spec = g_param_spec_pointer(
365 "decoder",
366 nullptr,
367 nullptr,
368 static_cast<GParamFlags>(G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
369 g_object_class_install_property(gobject_class, PROP_DECODER, spec);
370
371 /**
372 * GArrowStreamDecoder:listener:
373 *
374 * A listener that receives decoded events.
375 *
376 * Since: 18.0.0
377 */
378 spec = g_param_spec_object(
379 "listener",
380 nullptr,
381 nullptr,
382 GARROW_TYPE_STREAM_LISTENER,
383 static_cast<GParamFlags>(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
384 g_object_class_install_property(gobject_class, PROP_LISTENER, spec);
385}
386
387/**
388 * garrow_stream_decoder_new:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected