#include <biolibc/gff.h>
-lbiolibc -lxtend
int bl_gff_set_attributes_ae(
bl_gff_t *bl_gff_ptr,
size_t c,
char new_attributes_element
)
bl_gff_ptr Pointer to the structure to set
c Subscript to the attributes array
new_attributes_element The new value for attributes[c]
Mutator for an array element of attributes member in a bl_gff_t structure. Use
this function to set bl_gff_ptr->attributes[c] in a bl_gff_t object from
non-member functions.
BL_GFF_DATA_OK if the new value is acceptable and assigned
BL_GFF_DATA_OUT_OF_RANGE otherwise
bl_gff_t bl_gff;
size_t c;
char * new_attributes_element;
if ( bl_gff_set_attributes_ae(&bl_gff, c, new_attributes_element)
== BL_GFF_DATA_OK )
{
}
BL_GFF_SET_ATTRIBUTES_AE(3)