bl_bed_set_block_sizes_ae(3)

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

SYNOPSIS

int     bl_bed_set_block_sizes_ae(bl_bed_t *bl_bed_ptr, size_t c, uint64_t  new_block_sizes_element)

ARGUMENTS
bl_bed_ptr      Pointer to the structure to set
c               Subscript to the block_sizes array
new_block_sizes_element The new value for block_sizes[c]

DESCRIPTION
Mutator for an array element of block_sizes member in a bl_bed_t structure. Use this function to set an element of the array block_sizes in a bl_bed_t variable from non-member functions. Note that there is an equivalent macro BL_BED_SET_BLOCK_SIZES_AE(), which performs this function with no data verification or function call overhead. Use the macro version to maximize performance where the validity of new_block_sizes_element is guaranteed by other means.

EXAMPLES
bl_bed_t        bl_bed;
size_t          c;
uint64_t *      new_block_sizes_element;
if ( bl_bed_set_block_sizes(&bl_bed, c, new_block_sizes_element) == BL_DATA_OK )
{
}

SEE ALSO
BL_BED_SET_BLOCK_SIZES_AE(3)