BL_VCF_SET_CHROM_AE(3)

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

SYNOPSIS

BL_VCF_SET_CHROM_AE(ptr, c, new_chrom_element)

ARGUMENTS
ptr                     Pointer to a bl_vcf_t structure
c                       Subscript to chrom array
new_chrom_element       New value for chrom[c]

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

EXAMPLES
bl_vcf_t        bl_vcf;
size_t          c;
char            new_chrom_element;
BL_VCF_SET_CHROM_AE(&bl_vcf, c, new_chrom_element);

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