Engine.createExtensionValist

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.

class Engine
createExtensionValist

Parameters

info PluginInfo

A loaded #PeasPluginInfo.

extensionType GType

The implemented extension #GType.

firstProperty string

the name of the first property.

varArgs void*

the value of the first property, followed optionally by more name/value pairs, followed by %NULL.

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

Meta