Function

GLibrc_box_get_size

Declaration

gsize
g_rc_box_get_size (
  gpointer mem_block
)

Description

Retrieves the size of the reference counted data pointed by mem_block.

Available since:2.58

Parameters

mem_block gpointer
 

A pointer to reference counted data.

 The data is owned by the caller of the function.

Return value

Returns: gsize
 

The size of the data, in bytes.