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

Function garrow_map_array_builder_dispose

c_glib/arrow-glib/array-builder.cpp:6054–6075  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6052 garrow_map_array_builder_get_instance_private(GARROW_MAP_ARRAY_BUILDER(object)))
6053
6054static void
6055garrow_map_array_builder_dispose(GObject *object)
6056{
6057 auto priv = GARROW_MAP_ARRAY_BUILDER_GET_PRIVATE(object);
6058
6059 if (priv->key_builder) {
6060 g_object_unref(priv->key_builder);
6061 priv->key_builder = NULL;
6062 }
6063
6064 if (priv->item_builder) {
6065 g_object_unref(priv->item_builder);
6066 priv->item_builder = NULL;
6067 }
6068
6069 if (priv->value_builder) {
6070 g_object_unref(priv->value_builder);
6071 priv->value_builder = NULL;
6072 }
6073
6074 G_OBJECT_CLASS(garrow_map_array_builder_parent_class)->dispose(object);
6075}
6076
6077static void
6078garrow_map_array_builder_init(GArrowMapArrayBuilder *builder)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected