bl_align_set_min_match(3)

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

SYNOPSIS
int     bl_align_set_min_match(
bl_align_t *bl_align_ptr,
size_t new_min_match
)

ARGUMENTS
bl_align_ptr    Pointer to the structure to set
new_min_match   The new value for min_match

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

RETURN VALUES
BL_ALIGN_DATA_OK if the new value is acceptable and assigned BL_ALIGN_DATA_OUT_OF_RANGE otherwise

EXAMPLES
bl_align_t      bl_align;
size_t          new_min_match;
if ( bl_align_set_min_match(&bl_align, new_min_match)
        == BL_ALIGN_DATA_OK )
{
}

SEE ALSO
(3)