#include <biolibc/vcf.h>
-lbiolibc -lxtend
int bl_vcf_set_ref_ae(
bl_vcf_t *bl_vcf_ptr,
size_t c,
char new_ref_element
)
bl_vcf_ptr Pointer to the structure to set
c Subscript to the ref array
new_ref_element The new value for ref[c]
Mutator for an array element of ref member in a bl_vcf_t structure. Use this
function to set bl_vcf_ptr->ref[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_ref_element;
if ( bl_vcf_set_ref_ae(&bl_vcf, c, new_ref_element)
== BL_VCF_DATA_OK )
{
}