Peas.Engine.provides_extension

### Method

# Peas Engineprovides_extension

#### Declaration [src]

    gboolean
    peas_engine_provides_extension (
      PeasEngine* engine,
      PeasPluginInfo* info,
      GType extension_type
    )

#### Description [src]

Returns if `info` provides an extension for `extension_type`.

If the `info` is not loaded than `FALSE` will always be returned.

Since libpeas 1.22, `extension_type` can be an Abstract `GType` and not just an Interface `GType`.

#### Parameters

`info` | `PeasPluginInfo`
| A `PeasPluginInfo`.
| The data is owned by the caller of the function.
`extension_type` | `GType`
| The extension `GType`.

#### Return value

Returns: | `gboolean`
| If `info` provides an extension for `extension_type`.