FactoryFunc


Description:

[ CCode ( instance_pos = 1.9 ) ]
public delegate Object FactoryFunc (Parameter[] parameters)

A FactoryFunc is a factory function which will instanciate a new extension of a given type.

[[email protected]] is such a function.

It is used with [[email protected]_extension_factory].

Parameters:

parameters

The parameters.

n_parameters

The number of paramteters.

user_data

Optional data to be passed to the function, or null.

Returns:

The created object.


Namespace: Peas
Package: libpeas-1.0



2022 vala-language.org