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

Function garrow_replace_slice_options_set_property

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

Source from the content-addressed store, hash-verified

8627 GARROW_TYPE_FUNCTION_OPTIONS)
8628
8629static void
8630garrow_replace_slice_options_set_property(GObject *object,
8631 guint prop_id,
8632 const GValue *value,
8633 GParamSpec *pspec)
8634{
8635 auto options =
8636 garrow_replace_slice_options_get_raw(GARROW_REPLACE_SLICE_OPTIONS(object));
8637
8638 switch (prop_id) {
8639 case PROP_REPLACE_SLICE_OPTIONS_START:
8640 options->start = g_value_get_int64(value);
8641 break;
8642 case PROP_REPLACE_SLICE_OPTIONS_STOP:
8643 options->stop = g_value_get_int64(value);
8644 break;
8645 case PROP_REPLACE_SLICE_OPTIONS_REPLACEMENT:
8646 options->replacement = g_value_get_string(value);
8647 break;
8648 default:
8649 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
8650 break;
8651 }
8652}
8653
8654static void
8655garrow_replace_slice_options_get_property(GObject *object,

Callers

nothing calls this directly

Tested by

no test coverage detected