Function Macro

GObjectPRIVATE_FIELD

Declaration [src]

#define G_PRIVATE_FIELD (
  TypeName,
  inst,
  field_type,
  field_name
)

Description [src]

Evaluates 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_type -
 

The type of the field in the private data structure.

field_name -
 

The name of the field in the private data structure.