ext/iodine/fiobj_ary.c
/**
 * Sets an object at the requested position.
 */
Sets an object at the requested position.
Sets an object at the requested position .
void fiobj_ary_set(FIOBJ ary, FIOBJ obj, int64_t pos) {
  assert(ary && FIOBJ_TYPE_IS(ary, FIOBJ_T_ARRAY));
  FIOBJ old = FIOBJ_INVALID;
  fio_ary___set(&obj2ary(ary)->ary, pos, obj, &old);
  fiobj_free(old);
}
void fiobj_ary_set ( FIOBJ ary , FIOBJ obj , int64_t pos ) { assert ( ary && FIOBJ_TYPE_IS ( ary , FIOBJ_T_ARRAY ) ) ; FIOBJ old = FIOBJ_INVALID ; fio_ary___set ( & obj2ary ( ary ) -> ary , pos , obj , & old ) ; fiobj_free ( old ) ; }
Sets an object at the requested position.
Sets an object at the requested position .