FACT++  1.0
void* id_arr_increase ( void *  id_ptr,
int  id_size,
int  n_ids 
)

Definition at line 143 of file conn_handler.c.

References Curr_N_Ids, and ID_BLOCK.

Referenced by id_get().

144 {
145  register char *new_ptr;
146 
147  new_ptr = realloc( id_ptr, (size_t)(id_size * n_ids) );
148  memset( new_ptr + id_size * Curr_N_Ids, 0, (size_t)(id_size * ID_BLOCK) );
149  return(new_ptr);
150 }
static int Curr_N_Ids
Definition: conn_handler.c:46
#define ID_BLOCK
Definition: dim.h:164

+ Here is the caller graph for this function: