GObject.PRIVATE_FIELD
Description: Reference for GObject.PRIVATE_FIELD

### Function Macro

# GObjectPRIVATE_FIELD

since: 2.38

#### 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

This function is not directly available to language bindings.

#### Parameters

`TypeName`

  Type: `-`

  The name of the type in CamelCase.

`inst`

  Type: `-`

  The instance of `TypeName` you wish to access.

`field_type`

  Type: `-`

  The type of the field in the private data structure.

`field_name`

  Type: `-`

  The name of the field in the private data structure.