ObjectModule.createObject

Creates an object for the @exten_type passing @n_parameters and @parameters to the #PeasFactoryFunc. If @module does not provide a #PeasFactoryFunc for @exten_type then %NULL is returned.

Since libpeas 1.22, @exten_type can be an Abstract #GType and not just an Interface #GType.

class ObjectModule
createObject

Parameters

extenType GType

The #GType of the extension.

parameters GParameter[]

The parameters.

Return Value

Type: ObjectG

The created object, or %NULL.

Meta