| 59 | } |
| 60 | |
| 61 | static void |
| 62 | garrow_codec_set_property(GObject *object, |
| 63 | guint prop_id, |
| 64 | const GValue *value, |
| 65 | GParamSpec *pspec) |
| 66 | { |
| 67 | auto priv = GARROW_CODEC_GET_PRIVATE(object); |
| 68 | |
| 69 | switch (prop_id) { |
| 70 | case PROP_CODEC: |
| 71 | priv->codec = |
| 72 | *static_cast<std::shared_ptr<arrow::util::Codec> *>(g_value_get_pointer(value)); |
| 73 | break; |
| 74 | default: |
| 75 | G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); |
| 76 | break; |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | static void |
| 81 | garrow_codec_get_property(GObject *object, |
nothing calls this directly
no outgoing calls
no test coverage detected