BL_BED_SET_CHROM_END(3)

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

SYNOPSIS

BL_BED_SET_CHROM_END(ptr, new_chrom_end)

ARGUMENTS
ptr             Pointer to a bl_bed_t structure
new_chrom_end   New value for chrom_end

DESCRIPTION
Mutator macro for chrom_end. Use this macro to set chrom_end in a bl_bed_t structure from functions that are not members of the class. This allows separation of implementation from interface. While the implementation of the bl_bed_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_bed_set_chrom_end(), 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_end is not validated by other means.

EXAMPLES
bl_bed_t        bl_bed;
uint64_t        new_chrom_end;
BL_BED_SET_CHROM_END(&bl_bed, new_chrom_end);

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