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

Function garrow_source_node_options_dispose

c_glib/arrow-glib/compute.cpp:1091–1107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1089 garrow_source_node_options_get_instance_private(GARROW_SOURCE_NODE_OPTIONS(object)))
1090
1091static void
1092garrow_source_node_options_dispose(GObject *object)
1093{
1094 auto priv = GARROW_SOURCE_NODE_OPTIONS_GET_PRIVATE(object);
1095
1096 if (priv->reader) {
1097 g_object_unref(priv->reader);
1098 priv->reader = nullptr;
1099 }
1100
1101 if (priv->record_batch) {
1102 g_object_unref(priv->record_batch);
1103 priv->record_batch = nullptr;
1104 }
1105
1106 G_OBJECT_CLASS(garrow_source_node_options_parent_class)->dispose(object);
1107}
1108
1109static void
1110garrow_source_node_options_set_property(GObject *object,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected