hmmer-3.3/src/fm_general.c
/* Function:  fm_newSeed()
 *
 * Synopsis:  return a pointer to the next seed element on the list,
 *            increasing the size of the list, if necessary.
 *
 * Returns:   NULL in event of allocation failure, otherwise pointer to
 *            the next seed diagonal
 */
fm_newSeed()
Synopsis:  return a pointer to the next seed element on the list,
increasing the size of the list, if necessary.

NULL in event of allocation failure, otherwise pointer to
the next seed diagonal
fm_newSeed () Synopsis : return a pointer to the next seed element on the list increasing the size of the list if necessary . NULL in event of allocation failure otherwise pointer to the next seed diagonal
FM_DIAG *
fm_newSeed (FM_DIAGLIST *list) {
  int status;
  if (list->count == list->size) {
    list->size *= 4;
    ESL_REALLOC(list->diags, list->size * sizeof(FM_DIAG));
  }
  list->count++;
  return list->diags + (list->count - 1);
ERROR:
  return NULL;
}
FM_DIAG * fm_newSeed ( FM_DIAGLIST * list ) { int status ; if ( list -> count == list -> size ) { list -> size *= 4 ; ESL_REALLOC ( list -> diags , list -> size * sizeof ( FM_DIAG ) ) ; } list -> count ++ ; return list -> diags + ( list -> count - 1 ) ; ERROR : return NULL ; }
Function:  fm_newSeed()
 Synopsis:  return a pointer to the next seed element on the list,
            increasing the size of the list, if necessary.
Function : fm_newSeed () Synopsis : return a pointer to the next seed element on the list increasing the size of the list if necessary .