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

Function garrow_base_binary_scalar_class_init

c_glib/arrow-glib/scalar.cpp:1017–1039  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1015}
1016
1017static void
1018garrow_base_binary_scalar_class_init(GArrowBaseBinaryScalarClass *klass)
1019{
1020 auto gobject_class = G_OBJECT_CLASS(klass);
1021 gobject_class->dispose = garrow_base_binary_scalar_dispose;
1022 gobject_class->set_property = garrow_base_binary_scalar_set_property;
1023
1024 GParamSpec *spec;
1025 /**
1026 * GArrowBaseBinaryScalar:value:
1027 *
1028 * The value of the scalar.
1029 *
1030 * Since: 5.0.0
1031 */
1032 spec = g_param_spec_object(
1033 "value",
1034 "Value",
1035 "The value of the scalar",
1036 GARROW_TYPE_BUFFER,
1037 static_cast<GParamFlags>(G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
1038 g_object_class_install_property(gobject_class, PROP_VALUE, spec);
1039}
1040
1041G_END_DECLS
1042template <typename ArrowBinaryScalarType>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected