 |
PK_PART_ask_ref_instances |
|
PK_ERROR_code_t PK_PART_ask_ref_instances
(
--- received arguments ---
PK_PART_t part, --- a part
--- returned arguments ---
int *const n_instances, --- number of instances (>=0)
PK_INSTANCE_t **const instances --- instances ( optional )
)
This function returns the set of instances which instance the given part.
Specific Errors:
PK_ERROR_child_body (MILD) 'part' is a child body
The output array 'instances' is optional. If it is set to NULL, the function
will only compute the number of instances referencing the part.