PK_ASSEMBLY_ask_instances   

PK_ERROR_code_t       PK_ASSEMBLY_ask_instances
(
--- received arguments ---
PK_ASSEMBLY_t         assembly,      --- assembly

--- returned arguments ---
int            *const n_instances,   --- number of instances in assembly (>=0)
PK_INSTANCE_t **const instances      --- instances in assembly (optional)
)


This function returns the instances in an assembly.


The output array 'instances' is optional.  If it is set to NULL, the function
will only compute the number of instances.