libplist  2.8.0
API Documentation - Return to Homepage

◆ plist_array_item_remove()

PLIST_API plist_err_t plist_array_item_remove ( plist_t item)

Remove a node that is a child node of a PLIST_ARRAY node.

node will be freed using plist_free.

Parameters
nodeThe node to be removed from its PLIST_ARRAY parent.
Returns
  • PLIST_ERR_SUCCESS on success.
  • PLIST_ERR_INVALID_ARG if item is NULL or not a child of a PLIST_ARRAY
  • PLIST_ERR_UNKNOWN if an unexpected internal error occurred.