#include <biolibc/align.h>
-lbiolibc -lxtend
int bl_align_set_max_mismatch_percent(
bl_align_t *bl_align_ptr,
unsigned new_max_mismatch_percent
)
bl_align_ptr Pointer to the structure to set
new_max_mismatch_percent The new value for max_mismatch_percent
Mutator for max_mismatch_percent member in a bl_align_t structure. Use this
function to set max_mismatch_percent in a bl_align_t object from non-member
functions. This function performs a direct assignment for scalar or pointer
structure members. If max_mismatch_percent is a pointer, data previously
pointed to should be freed before calling this function to avoid memory leaks.
BL_ALIGN_DATA_OK if the new value is acceptable and assigned
BL_ALIGN_DATA_OUT_OF_RANGE otherwise
bl_align_t bl_align;
unsigned new_max_mismatch_percent;
if ( bl_align_set_max_mismatch_percent(&bl_align, new_max_mismatch_percent)
== BL_ALIGN_DATA_OK )
{
}