BL_SAM_SET_RNAME_AE(3)

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

SYNOPSIS

BL_SAM_SET_RNAME_AE(ptr, c, new_rname_element)

ARGUMENTS
ptr                     Pointer to a bl_sam_t structure
c                       Subscript to rname array
new_rname_element       New value for rname[c]

DESCRIPTION
Mutator macro for rname array elements. Use this macro to set an element of rname in a bl_sam_t structure from functions that are not members of the class. This allows separation of implementation from interface. While the implementation of the bl_sam_t structure may change, effort is made to preserve the API of functions and macros used to access it. Note that there is an equivalent function bl_sam_set_rname_ae(), which performs this function with data verification. Use the function version for more robust code with a slight performance penalty if the value of new_rname_element is not validated by other means.

EXAMPLES
bl_sam_t        bl_sam;
size_t          c;
char            new_rname_element;
BL_SAM_SET_RNAME_AE(&bl_sam, c, new_rname_element);

SEE ALSO
bl_sam_set_rname_ae(3)
See biolibc/sam.h for a full list of macros.