ext/iodine/fiobj_ary.c
/**
 * Removes the first instance of an object from the Array (if any), changing the
 * index of any following objects.
 *
 * Returns 0 on success or -1 (if the object wasn't found).
 */
Removes the first instance of an object from the Array (if any), changing the
index of any following objects.

Returns 0 on success or -1 (if the object wasn't found).
Removes the first instance of an object from the Array ( if any ) changing the index of any following objects . Returns 0 on success or - 1 ( if the object wasn ' t found ) .
int fiobj_ary_remove2(FIOBJ ary, FIOBJ data) {
  assert(ary && FIOBJ_TYPE_IS(ary, FIOBJ_T_ARRAY));
  if (-1 == fio_ary___remove2(&obj2ary(ary)->ary, data, &data)) {
    return -1;
  }
  fiobj_free(data);
  return 0;
}
int fiobj_ary_remove2 ( FIOBJ ary , FIOBJ data ) { assert ( ary && FIOBJ_TYPE_IS ( ary , FIOBJ_T_ARRAY ) ) ; if ( -1 == fio_ary___remove2 ( & obj2ary ( ary ) -> ary , data , & data ) ) { return -1 ; } fiobj_free ( data ) ; return 0 ; }
Removes the first instance of an object from the Array (if any), changing the
 index of any following objects.
Removes the first instance of an object from the Array ( if any ) changing the index of any following objects .