TypeClass.getInstancePrivateOffset

Gets the offset of the private data for instances of @g_class.

This is how many bytes you should add to the instance pointer of a class in order to get the private data for the type represented by @g_class.

You can only call this function after you have registered a private data area for @g_class using g_type_class_add_private().

class TypeClass
static
int
getInstancePrivateOffset
(
void* gClass
)

Parameters

gClass void*

a #GTypeClass

Return: the offset, in bytes

Meta

Since

2.38