deps/kb_meme/meme-5.0.1/src/momo-motifx.c
/**
 * Initializes and returns a MOTIFX_STATUS_T array of the given size
 */
Initializes and returns a MOTIFX_STATUS_T array of the given size
Initializes and returns a MOTIFX_STATUS_T array of the given size
MOTIFX_STATUS_T* init_status_array(int size) {
  int i;
  MOTIFX_STATUS_T* result = (MOTIFX_STATUS_T*) mm_malloc(sizeof(MOTIFX_STATUS_T) * size);
  for (i = 0; i < size; ++i) {
    result[i] = ACTIVE;
  }
  return result;
}
MOTIFX_STATUS_T * init_status_array ( int size ) { int i ; MOTIFX_STATUS_T * result = ( MOTIFX_STATUS_T * ) mm_malloc ( sizeof ( MOTIFX_STATUS_T ) * size ) ; for ( i = 0 ; i < size ; ++ i ) { result [ i ] = ACTIVE ; } return result ; }
Initializes and returns a MOTIFX_STATUS_T array of the given size
Initializes and returns a MOTIFX_STATUS_T array of the given size