Peas.ExtensionSet.get_extension

### Method

# Peas ExtensionSetget_extension

#### Declaration [src]

    PeasExtension*
    peas_extension_set_get_extension (
      PeasExtensionSet* set,
      PeasPluginInfo* info
    )

#### Description [src]

Returns the `PeasExtension` object corresponding to `info`.

If the plugin doesn’t provide such an extension, it returns `NULL`.

#### Parameters

`info`

  Type: `PeasPluginInfo`

  A `PeasPluginInfo`.

  The data is owned by the caller of the method.

#### Return value

Type: `PeasExtension`

A reference to a `PeasExtension`.

The data is owned by the instance.
The return value can be `NULL`.