Gets the size of the array.
icalarray *native;
gint ret;
g_return_val_if_fail (array != NULL && I_CAL_IS_ARRAY (array), -1);
native = i_cal_object_get_native ((ICalObject *)array);
ret = native->num_elements;
native = NULL;
return ret;
Creates a deep copy of #ICalArray with the same properties as the @array.
Frees the #ICalArray.
Removes the element at the @position from the array.
Gets the element located in the @position in the @array. NULL if position if out of bound.
Does not work right now. Sorts the @array using the sort function @compare.
g_return_if_fail (I_CAL_IS_ARRAY (array));
g_return_if_fail (array != NULL);
g_return_if_fail (compare != NULL);
icalarray_sort ((icalarray *)i_cal_object_get_native ((ICalObject *)array), compare);