# get\_prev\_struc\_idx

get index of previous structure type current structure index returns: -1 if no (more) structure type is defined index of the previous structure type. See [get\_first\_struc\_idx](https://docs.hex-rays.com/8.4/developer-guide/idc/idc-api-reference/alphabetical-list-of-idc-functions/371)() for the explanation of structure indices and IDs.

long get\_prev\_struc\_idx(long index);
