#include <biolibc/vcf.h>
-lbiolibc -lxtend
int bl_vcf_set_format_ae(
bl_vcf_t *bl_vcf_ptr,
size_t c,
char new_format_element
)
bl_vcf_ptr Pointer to the structure to set
c Subscript to the format array
new_format_element The new value for format[c]
Mutator for an array element of format member in a bl_vcf_t structure. Use this
function to set bl_vcf_ptr->format[c] in a bl_vcf_t object from non-member
functions.
BL_VCF_DATA_OK if the new value is acceptable and assigned
BL_VCF_DATA_OUT_OF_RANGE otherwise
bl_vcf_t bl_vcf;
size_t c;
char * new_format_element;
if ( bl_vcf_set_format_ae(&bl_vcf, c, new_format_element)
== BL_VCF_DATA_OK )
{
}