PK_VERTEX_ask_isolated_loops   


PK_ERROR_code_t   PK_VERTEX_ask_isolated_loops
(
--- received arguments ---
PK_VERTEX_t       vertex,            --- a vertex

--- returned arguments ---
int        *const n_loops,           --- number of isolated loops (>= 0)
PK_LOOP_t **const loops              --- isolated loops (optional)
)


This function returns the set of isolated loops at the given vertex.


The output array loops is optional. If it is set to NULL, then the function
will only compute the number of isolated loops at the vertex.