Function Macro

GObjectPRIVATE_FIELD_P

Declaration [src]

#define G_PRIVATE_FIELD_P (
  TypeName,
  inst,
  field_name
)

Description [src]

Evaluates to a pointer to the field_name inside the inst private data structure for TypeName.

Note that this macro can only be used together with the G_DEFINE_TYPE_* and G_ADD_PRIVATE() macros, since it depends on variable names from those macros.

Available since:2.38

Parameters

TypeName -
 

The name of the type in CamelCase.

inst -
 

The instance of TypeName you wish to access.

field_name -
 

The name of the field in the private data structure.