bl_overlap_set_overlap_end(3)

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

SYNOPSIS

int     bl_overlap_set_overlap_end(bl_overlap_t *bl_overlap_ptr, uint64_t new_overlap_end)

ARGUMENTS
bl_overlap_ptr  Pointer to the structure to set
new_overlap_end The new value for overlap_end

DESCRIPTION
Mutator for overlap_end member in a bl_overlap_t structure. Use this function to set overlap_end in a bl_overlap_t variable from non-member functions. This function performs a direct assignment for scalar or pointer structure members. If overlap_end is a pointer, data previously pointed to should generally be freed before calling this function to avoid memory leaks. Note that there is an equivalent macro (), which performs this function with no data verification or function call overhead. Use the macro version to maximize performance where the validity of new_overlap_end is guaranteed by other means.

EXAMPLES
bl_overlap_t    bl_overlap;
uint64_t        new_overlap_end;
if ( bl_overlap_set_overlap_end(&bl_overlap, new_overlap_end) == BL_DATA_OK )
{
}

SEE ALSO
(3)