provides_extension


Description:

public bool provides_extension (PluginInfo info, Type extension_type)

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 [alias@GObject.Type] and not just an Interface [alias@GObject.Type].

Parameters:

this

A Engine.

info

A PluginInfo.

extension_type

The extension Type.

Returns:

if info provides an extension for extension_type.