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

Function garrow_codec_class_init

c_glib/arrow-glib/codec.cpp:100–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100static void
101garrow_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:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected