| 10659 | } |
| 10660 | |
| 10661 | static void |
| 10662 | garrow_zero_fill_options_class_init(GArrowZeroFillOptionsClass *klass) |
| 10663 | { |
| 10664 | auto gobject_class = G_OBJECT_CLASS(klass); |
| 10665 | |
| 10666 | gobject_class->set_property = garrow_zero_fill_options_set_property; |
| 10667 | gobject_class->get_property = garrow_zero_fill_options_get_property; |
| 10668 | |
| 10669 | arrow::compute::ZeroFillOptions options; |
| 10670 | |
| 10671 | GParamSpec *spec; |
| 10672 | /** |
| 10673 | * GArrowZeroFillOptions:width: |
| 10674 | * |
| 10675 | * The desired string length. |
| 10676 | * |
| 10677 | * Since: 23.0.0 |
| 10678 | */ |
| 10679 | spec = g_param_spec_int64("width", |
| 10680 | "Width", |
| 10681 | "The desired string length", |
| 10682 | G_MININT64, |
| 10683 | G_MAXINT64, |
| 10684 | options.width, |
| 10685 | static_cast<GParamFlags>(G_PARAM_READWRITE)); |
| 10686 | g_object_class_install_property(gobject_class, PROP_ZERO_FILL_OPTIONS_WIDTH, spec); |
| 10687 | |
| 10688 | /** |
| 10689 | * GArrowZeroFillOptions:padding: |
| 10690 | * |
| 10691 | * What to pad the string with. Should be one codepoint (Unicode). |
| 10692 | * |
| 10693 | * Since: 23.0.0 |
| 10694 | */ |
| 10695 | spec = |
| 10696 | g_param_spec_string("padding", |
| 10697 | "Padding", |
| 10698 | "What to pad the string with. Should be one codepoint (Unicode)", |
| 10699 | options.padding.c_str(), |
| 10700 | static_cast<GParamFlags>(G_PARAM_READWRITE)); |
| 10701 | g_object_class_install_property(gobject_class, PROP_ZERO_FILL_OPTIONS_PADDING, spec); |
| 10702 | } |
| 10703 | |
| 10704 | /** |
| 10705 | * garrow_zero_fill_options_new: |
nothing calls this directly
no outgoing calls
no test coverage detected