ExtensionSet.with_properties


Description:

[ CCode ( has_construct_function = false ) ]
public ExtensionSet.with_properties (Engine? engine, Type exten_type, string[] prop_names, Value[] prop_values)

Create a new ExtensionSet for the exten_type extension type.

If engine is null, then the default engine will be used.

Since libpeas 1.22, exten_type can be an Abstract [[email protected]] and not just an Interface [[email protected]].

See [[email protected]] for more information.

Parameters:

engine

A Engine, or null.

exten_type

the extension Type.

prop_names

an array of property names.

prop_values

an array of property values.

n_properties

the length of the prop_names and prop_values array.

Returns:

a new instance of ExtensionSet.

Since 1.24.0




2022 vala-language.org