#include <biolibc/bed.h>
-lbiolibc -lxtend
int bl_bed_set_block_starts_ae(
bl_bed_t *bl_bed_ptr,
size_t c,
uint64_t new_block_starts_element
)
bl_bed_ptr Pointer to the structure to set
c Subscript to the block_starts array
new_block_starts_element The new value for block_starts[c]
Mutator for an array element of block_starts member in a bl_bed_t structure. Use
this function to set bl_bed_ptr->block_starts[c] in a bl_bed_t object from
non-member functions.
BL_BED_DATA_OK if the new value is acceptable and assigned
BL_BED_DATA_OUT_OF_RANGE otherwise
bl_bed_t bl_bed;
size_t c;
uint64_t * new_block_starts_element;
if ( bl_bed_set_block_starts_ae(&bl_bed, c, new_block_starts_element)
== BL_BED_DATA_OK )
{
}
BL_BED_SET_BLOCK_STARTS_AE(3)