| 304 | } |
| 305 | |
| 306 | static void |
| 307 | garrow_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 | |
| 328 | static void |
| 329 | garrow_stream_decoder_get_property(GObject *object, |
nothing calls this directly
no outgoing calls
no test coverage detected