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` | `PeasPluginInfo`
| A `PeasPluginInfo`.
| The data is owned by the caller of the function.

#### Return value

Returns: | `PeasExtension`
| A reference to a `PeasExtension`.
| The data is owned by the instance.
| The return value can be `NULL`.