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

Function garrow_memory_pool_set_property

c_glib/arrow-glib/memory-pool.cpp:48–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 garrow_memory_pool_get_instance_private(GARROW_MEMORY_POOL(obj)))
47
48static void
49garrow_memory_pool_set_property(GObject *object,
50 guint prop_id,
51 const GValue *value,
52 GParamSpec *pspec)
53{
54 auto priv = GARROW_MEMORY_POOL_GET_PRIVATE(object);
55
56 switch (prop_id) {
57 case PROP_MEMORY_POOL:
58 priv->memory_pool = static_cast<arrow::MemoryPool *>(g_value_get_pointer(value));
59 break;
60 default:
61 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
62 break;
63 }
64}
65
66static void
67garrow_memory_pool_init(GArrowMemoryPool *object)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected