bl_overlap_set_overlap_len(3)

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

SYNOPSIS
int     bl_overlap_set_overlap_len(
bl_overlap_t *bl_overlap_ptr,
int64_t new_overlap_len
)

ARGUMENTS
bl_overlap_ptr  Pointer to the structure to set
new_overlap_len The new value for overlap_len

DESCRIPTION
Mutator for overlap_len member in a bl_overlap_t structure. Use this function to set overlap_len in a bl_overlap_t object from non-member functions. This function performs a direct assignment for scalar or pointer structure members. If overlap_len is a pointer, data previously pointed to should be freed before calling this function to avoid memory leaks.

RETURN VALUES
BL_OVERLAP_DATA_OK if the new value is acceptable and assigned BL_OVERLAP_DATA_OUT_OF_RANGE otherwise

EXAMPLES
bl_overlap_t    bl_overlap;
int64_t        new_overlap_len;
if ( bl_overlap_set_overlap_len(&bl_overlap, new_overlap_len)
        == BL_OVERLAP_DATA_OK )
{
}

SEE ALSO
(3)