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 bl_sam_buff_ptr->alignments[c] in a bl_sam_buff_t object from non-member functions.

RETURN VALUES
BL_SAM_BUFF_DATA_OK if the new value is acceptable and assigned BL_SAM_BUFF_DATA_OUT_OF_RANGE otherwise

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

SEE ALSO
BL_SAM_BUFF_SET_ALIGNMENTS_AE(3)