GObject* peas_engine_create_extension ( PeasEngine* engine, PeasPluginInfo* info, GType extension_type, const char* first_property, ... )
If the plugin identified by
info implements the
then this function will return a new instance of this implementation.
When creating the new instance of the
extension_type subtype, the
provided construct properties will be passed to the extension construction
handler (exactly like if you had called
This method is not directly available to language bindings.
The implementation of this method is provided by
peas_engine_create_extension_with_properties() in language bindings
The data is owned by the caller of the function.
The implemented extension
The name of the first property.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
The value of the first property, followed optionally by more name/value pairs, followed by
GObject that implements
|The data is owned by the instance.|