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

Function garrow_null_options_set_property

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

Source from the content-addressed store, hash-verified

8299G_DEFINE_TYPE(GArrowNullOptions, garrow_null_options, GARROW_TYPE_FUNCTION_OPTIONS)
8300
8301static void
8302garrow_null_options_set_property(GObject *object,
8303 guint prop_id,
8304 const GValue *value,
8305 GParamSpec *pspec)
8306{
8307 auto options = garrow_null_options_get_raw(GARROW_NULL_OPTIONS(object));
8308
8309 switch (prop_id) {
8310 case PROP_NULL_OPTIONS_NAN_IS_NULL:
8311 options->nan_is_null = g_value_get_boolean(value);
8312 break;
8313 default:
8314 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
8315 break;
8316 }
8317}
8318
8319static void
8320garrow_null_options_get_property(GObject *object,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected