Relation


Description:

[ CCode ( has_construct_function = false ) ]
public Relation (Object[] targets, RelationType relationship)

Create a new relation for the specified key and the specified list of targets.

See also add_relationship.

Parameters:

targets

an array of pointers to Objects

relationship

an RelationType with which to create the new Relation

n_targets

number of Objects pointed to by targets

Returns:

a pointer to a new Relation