Engine.createExtensionv

If the plugin identified by info implements the extension_type, then this function will return a new instance of this implementation, wrapped in a new PeasExtension instance. Otherwise, it will return NULL.

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

See Engine.createExtension for more information.

Parameters

info PluginInfo
extensionType GType

The implemented extension GType

parameters GParameter[]

an array of GParameter

Return Value

a new instance of PeasExtension wrapping the extension_type instance, or NULL.