ext/iodine/fiobj_ary.c
/**
 * Removes the object at the index (if valid), changing the index of any
 * following objects.
 *
 * Returns 0 on success or -1 (if no object or out of bounds).
 */
Removes the object at the index (if valid), changing the index of any
following objects.

Returns 0 on success or -1 (if no object or out of bounds).
Removes the object at the index ( if valid ) changing the index of any following objects . Returns 0 on success or - 1 ( if no object or out of bounds ) .
int fiobj_ary_remove(FIOBJ ary, int64_t pos) {
  assert(ary && FIOBJ_TYPE_IS(ary, FIOBJ_T_ARRAY));
  FIOBJ old = FIOBJ_INVALID;
  if (fio_ary___remove(&obj2ary(ary)->ary, (intptr_t)pos, &old)) {
    return -1;
  }
  fiobj_free(old);
  return 0;
}
int fiobj_ary_remove ( FIOBJ ary , int64_t pos ) { assert ( ary && FIOBJ_TYPE_IS ( ary , FIOBJ_T_ARRAY ) ) ; FIOBJ old = FIOBJ_INVALID ; if ( fio_ary___remove ( & obj2ary ( ary ) -> ary , ( intptr_t ) pos , & old ) ) { return -1 ; } fiobj_free ( old ) ; return 0 ; }
Removes the object at the index (if valid), changing the index of any
 following objects.
Removes the object at the index ( if valid ) changing the index of any following objects .