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

Function garrow_round_binary_options_get_property

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

Source from the content-addressed store, hash-verified

9348}
9349
9350static void
9351garrow_round_binary_options_get_property(GObject *object,
9352 guint prop_id,
9353 GValue *value,
9354 GParamSpec *pspec)
9355{
9356 auto options = garrow_round_binary_options_get_raw(GARROW_ROUND_BINARY_OPTIONS(object));
9357
9358 switch (prop_id) {
9359 case PROP_ROUND_BINARY_OPTIONS_MODE:
9360 g_value_set_enum(value, static_cast<GArrowRoundMode>(options->round_mode));
9361 break;
9362 default:
9363 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
9364 break;
9365 }
9366}
9367
9368static void
9369garrow_round_binary_options_init(GArrowRoundBinaryOptions *object)

Callers

nothing calls this directly

Tested by

no test coverage detected