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

Function garrow_replace_slice_options_get_property

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

Source from the content-addressed store, hash-verified

8652}
8653
8654static void
8655garrow_replace_slice_options_get_property(GObject *object,
8656 guint prop_id,
8657 GValue *value,
8658 GParamSpec *pspec)
8659{
8660 auto options =
8661 garrow_replace_slice_options_get_raw(GARROW_REPLACE_SLICE_OPTIONS(object));
8662
8663 switch (prop_id) {
8664 case PROP_REPLACE_SLICE_OPTIONS_START:
8665 g_value_set_int64(value, options->start);
8666 break;
8667 case PROP_REPLACE_SLICE_OPTIONS_STOP:
8668 g_value_set_int64(value, options->stop);
8669 break;
8670 case PROP_REPLACE_SLICE_OPTIONS_REPLACEMENT:
8671 g_value_set_string(value, options->replacement.c_str());
8672 break;
8673 default:
8674 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
8675 break;
8676 }
8677}
8678
8679static void
8680garrow_replace_slice_options_init(GArrowReplaceSliceOptions *object)

Callers

nothing calls this directly

Tested by

no test coverage detected