bl_sam_buff_set_alignments_ae(3)

LIBRARY
#include <biolibc/sam-buff.h>
-lbiolibc -lxtend

SYNOPSIS

int     bl_sam_buff_set_alignments_ae(bl_sam_buff_t *bl_sam_buff_ptr, size_t c, bl_sam_t * new_alignments_element)

ARGUMENTS
bl_sam_buff_ptr Pointer to the structure to set
c               Subscript to the alignments array
new_alignments_element The new value for alignments[c]

DESCRIPTION
Mutator for an array element of alignments member in a bl_sam_buff_t structure. Use this function to set an element of the array alignments in a bl_sam_buff_t variable from non-member functions. Note that there is an equivalent macro BL_SAM_BUFF_SET_ALIGNMENTS_AE(), which performs this function with no data verification or function call overhead. Use the macro version to maximize performance where the validity of new_alignments_element is guaranteed by other means.

EXAMPLES
bl_sam_buff_t   bl_sam_buff;
size_t          c;
bl_sam_t **     new_alignments_element;
if ( bl_sam_buff_set_alignments(&bl_sam_buff, c, new_alignments_element) == BL_DATA_OK )
{
}

SEE ALSO
BL_SAM_BUFF_SET_ALIGNMENTS_AE(3)