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

Function garrow_array_builder_set_property

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

Source from the content-addressed store, hash-verified

519}
520
521static void
522garrow_array_builder_set_property(GObject *object,
523 guint prop_id,
524 const GValue *value,
525 GParamSpec *pspec)
526{
527 auto priv = GARROW_ARRAY_BUILDER_GET_PRIVATE(object);
528
529 switch (prop_id) {
530 case PROP_ARRAY_BUILDER:
531 priv->array_builder =
532 *static_cast<std::shared_ptr<arrow::ArrayBuilder> *>(g_value_get_pointer(value));
533 break;
534 default:
535 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
536 break;
537 }
538}
539
540static void
541garrow_array_builder_init(GArrowArrayBuilder *builder)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected