BL_FASTQ_SET_DESC_AE(3)

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

SYNOPSIS

BL_FASTQ_SET_DESC_AE(ptr, c, new_desc_element)

ARGUMENTS
ptr                     Pointer to a bl_fastq_t structure
c                       Subscript to desc array
new_desc_element        New value for desc[c]

DESCRIPTION
Mutator macro for desc array elements. Use this macro to set an element of desc in a bl_fastq_t structure from functions that are not members of the class. This allows separation of implementation from interface. While the implementation of the bl_fastq_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_fastq_set_desc_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_desc_element is not validated by other means.

EXAMPLES
bl_fastq_t      bl_fastq;
size_t          c;
char *          new_desc_element;
BL_FASTQ_SET_DESC_AE(&bl_fastq, c, new_desc_element);

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