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

Function garrow_tensor_get_property

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

Source from the content-addressed store, hash-verified

98}
99
100static void
101garrow_tensor_get_property(GObject *object,
102 guint prop_id,
103 GValue *value,
104 GParamSpec *pspec)
105{
106 auto priv = GARROW_TENSOR_GET_PRIVATE(object);
107
108 switch (prop_id) {
109 case PROP_BUFFER:
110 g_value_set_object(value, priv->buffer);
111 break;
112 default:
113 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
114 break;
115 }
116}
117
118static void
119garrow_tensor_init(GArrowTensor *object)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected