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

Function garrow_round_binary_options_set_property

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

Source from the content-addressed store, hash-verified

9330 GARROW_TYPE_FUNCTION_OPTIONS)
9331
9332static void
9333garrow_round_binary_options_set_property(GObject *object,
9334 guint prop_id,
9335 const GValue *value,
9336 GParamSpec *pspec)
9337{
9338 auto options = garrow_round_binary_options_get_raw(GARROW_ROUND_BINARY_OPTIONS(object));
9339
9340 switch (prop_id) {
9341 case PROP_ROUND_BINARY_OPTIONS_MODE:
9342 options->round_mode = static_cast<arrow::compute::RoundMode>(g_value_get_enum(value));
9343 break;
9344 default:
9345 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
9346 break;
9347 }
9348}
9349
9350static void
9351garrow_round_binary_options_get_property(GObject *object,

Callers

nothing calls this directly

Tested by

no test coverage detected