ext/iodine/redis_engine.c
/* releases any resources used by an internal engine*/
releases any resources used by an internal engine
releases any resources used by an internal engine
static inline void redis_internal_reset(struct redis_engine_internal_s *i) {
  i->buf_pos = 0;
  i->parser = (resp_parser_s){.obj_countdown = 0, .expecting = 0};
  fiobj_free((FIOBJ)fio_ct_if(i->ary == FIOBJ_INVALID, (uintptr_t)i->str,
                              (uintptr_t)i->ary));
  i->str = FIOBJ_INVALID;
  i->ary = FIOBJ_INVALID;
  i->ary_count = 0;
  i->nesting = 0;
  i->uuid = -1;
}
static inline void redis_internal_reset ( struct redis_engine_internal_s * i ) { i -> buf_pos = 0 ; i -> parser = ( resp_parser_s ) { . obj_countdown = 0 , . expecting = 0 } ; fiobj_free ( ( FIOBJ ) fio_ct_if ( i -> ary == FIOBJ_INVALID , ( uintptr_t ) i -> str , ( uintptr_t ) i -> ary ) ) ; i -> str = FIOBJ_INVALID ; i -> ary = FIOBJ_INVALID ; i -> ary_count = 0 ; i -> nesting = 0 ; i -> uuid = -1 ; }
releases any resources used by an internal engine
releases any resources used by an internal engine