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

Function garrow_trim_options_class_init

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

Source from the content-addressed store, hash-verified

10289}
10290
10291static void
10292garrow_trim_options_class_init(GArrowTrimOptionsClass *klass)
10293{
10294 auto gobject_class = G_OBJECT_CLASS(klass);
10295
10296 gobject_class->set_property = garrow_trim_options_set_property;
10297 gobject_class->get_property = garrow_trim_options_get_property;
10298
10299 arrow::compute::TrimOptions options;
10300
10301 GParamSpec *spec;
10302 /**
10303 * GArrowTrimOptions:characters:
10304 *
10305 * The individual characters to be trimmed from the string.
10306 *
10307 * Since: 23.0.0
10308 */
10309 spec = g_param_spec_string("characters",
10310 "Characters",
10311 "The individual characters to be trimmed from the string",
10312 options.characters.c_str(),
10313 static_cast<GParamFlags>(G_PARAM_READWRITE));
10314 g_object_class_install_property(gobject_class, PROP_TRIM_OPTIONS_CHARACTERS, spec);
10315}
10316
10317/**
10318 * garrow_trim_options_new:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected