bl_gff_set_attributes_ae(3)

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

SYNOPSIS

int     bl_gff_set_attributes_ae(bl_gff_t *bl_gff_ptr, size_t c, char  new_attributes_element)

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

DESCRIPTION
Mutator for an array element of attributes member in a bl_gff_t structure. Use this function to set an element of the array attributes in a bl_gff_t variable from non-member functions. Note that there is an equivalent macro BL_GFF_SET_ATTRIBUTES_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_attributes_element is guaranteed by other means.

EXAMPLES
bl_gff_t        bl_gff;
size_t          c;
char *          new_attributes_element;
if ( bl_gff_set_attributes(&bl_gff, c, new_attributes_element) == BL_DATA_OK )
{
}

SEE ALSO
BL_GFF_SET_ATTRIBUTES_AE(3)