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

Function garrow_stream_decoder_set_property

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

Source from the content-addressed store, hash-verified

304}
305
306static void
307garrow_stream_decoder_set_property(GObject *object,
308 guint prop_id,
309 const GValue *value,
310 GParamSpec *pspec)
311{
312 auto priv = GARROW_STREAM_DECODER_GET_PRIVATE(object);
313
314 switch (prop_id) {
315 case PROP_DECODER:
316 priv->decoder = *static_cast<std::shared_ptr<arrow::ipc::StreamDecoder> *>(
317 g_value_get_pointer(value));
318 break;
319 case PROP_LISTENER:
320 priv->listener = GARROW_STREAM_LISTENER(g_value_dup_object(value));
321 break;
322 default:
323 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
324 break;
325 }
326}
327
328static void
329garrow_stream_decoder_get_property(GObject *object,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected