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

Function garrow_pairwise_options_class_init

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

Source from the content-addressed store, hash-verified

8575}
8576
8577static void
8578garrow_pairwise_options_class_init(GArrowPairwiseOptionsClass *klass)
8579{
8580 auto gobject_class = G_OBJECT_CLASS(klass);
8581
8582 gobject_class->set_property = garrow_pairwise_options_set_property;
8583 gobject_class->get_property = garrow_pairwise_options_get_property;
8584
8585 arrow::compute::PairwiseOptions options;
8586
8587 GParamSpec *spec;
8588 /**
8589 * GArrowPairwiseOptions:periods:
8590 *
8591 * Periods to shift for applying the binary operation, accepts negative values.
8592 *
8593 * Since: 23.0.0
8594 */
8595 spec = g_param_spec_int64(
8596 "periods",
8597 "Periods",
8598 "Periods to shift for applying the binary operation, accepts negative values",
8599 G_MININT64,
8600 G_MAXINT64,
8601 options.periods,
8602 static_cast<GParamFlags>(G_PARAM_READWRITE));
8603 g_object_class_install_property(gobject_class, PROP_PAIRWISE_OPTIONS_PERIODS, spec);
8604}
8605
8606/**
8607 * garrow_pairwise_options_new:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected