bl_gff_set_source_ae(3)

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

SYNOPSIS

int     bl_gff_set_source_ae(bl_gff_t *bl_gff_ptr, size_t c, char new_source_element)

ARGUMENTS
bl_gff_ptr      Pointer to the structure to set
c               Subscript to the source array
new_source_element The new value for source[c]

DESCRIPTION
Mutator for an array element of source member in a bl_gff_t structure. Use this function to set an element of the array source in a bl_gff_t variable from non-member functions. Note that there is an equivalent macro BL_GFF_SET_SOURCE_AE(), which performs this function with no data verification or function call overhead. Use the macro version to maximize performance where the validity of new_source_element is guaranteed by other means.

EXAMPLES
bl_gff_t        bl_gff;
size_t          c;
char            new_source_element;
if ( bl_gff_set_source(&bl_gff, c, new_source_element) == BL_DATA_OK )
{
}

SEE ALSO
BL_GFF_SET_SOURCE_AE(3)