Function
PeasFactoryFunc
Declaration
GObject*
(* PeasFactoryFunc) (
  guint n_parameters,
  GParameter* parameters,
  gpointer user_data
)
Description [src]
A PeasFactoryFunc is a factory function which will instanciate a new
extension of a given type. g_object_newv() is such a function.
It is used with peas_object_module_register_extension_factory().
Parameters
- n_parameters
- 
            Type: guintThe number of paramteters. 
- parameters
- 
            Type: An array of GParameterThe parameters. The length of the array is specified in the n_parametersargument.The data is owned by the caller of the function. 
- user_data
- 
            Type: gpointerOptional data to be passed to the function, or NULL.The argument can be NULL.The data is owned by the caller of the function. 
Return value
Type: GObject
The created object.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |