| 98 | } |
| 99 | |
| 100 | static void |
| 101 | garrow_codec_class_init(GArrowCodecClass *klass) |
| 102 | { |
| 103 | GParamSpec *spec; |
| 104 | |
| 105 | auto gobject_class = G_OBJECT_CLASS(klass); |
| 106 | |
| 107 | gobject_class->finalize = garrow_codec_finalize; |
| 108 | gobject_class->set_property = garrow_codec_set_property; |
| 109 | gobject_class->get_property = garrow_codec_get_property; |
| 110 | |
| 111 | spec = g_param_spec_pointer( |
| 112 | "codec", |
| 113 | "Codec", |
| 114 | "The raw std::shared_ptr<arrow::util::Codec> *", |
| 115 | static_cast<GParamFlags>(G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); |
| 116 | g_object_class_install_property(gobject_class, PROP_CODEC, spec); |
| 117 | } |
| 118 | |
| 119 | /** |
| 120 | * garrow_codec_new: |
nothing calls this directly
no outgoing calls
no test coverage detected