libplist  2.8.0
API Documentation - Return to Homepage

◆ plist_array_get_item()

PLIST_API plist_t plist_array_get_item ( plist_t node,
uint32_t n )

Get the nth item in a PLIST_ARRAY node.

Parameters
nodethe node of type PLIST_ARRAY
nthe index of the item to get. Range is [0, array_size[
Returns
the nth item or NULL if node is not of type PLIST_ARRAY