Engine.createExtensionv

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

See peas_engine_create_extension() for more information.

Parameters

info PluginInfo

A loaded #PeasPluginInfo.

extensionType GType

The implemented extension #GType.

parameters GParameter[]

an array of #GParameter.

Return: a new instance of #PeasExtension wrapping the @extension_type instance, or %NULL.

Meta