#include <biolibc/sam-buff.h>
-lbiolibc -lxtend
int bl_sam_buff_set_alignments_ae(
bl_sam_buff_t *bl_sam_buff_ptr,
size_t c,
bl_sam_t * new_alignments_element
)
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]
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.
BL_SAM_BUFF_DATA_OK if the new value is acceptable and assigned
BL_SAM_BUFF_DATA_OUT_OF_RANGE otherwise
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 )
{
}
BL_SAM_BUFF_SET_ALIGNMENTS_AE(3)