bl_vcf_set_multi_samples_cpy(3)

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

SYNOPSIS

int     bl_vcf_set_multi_samples_cpy(bl_vcf_t *bl_vcf_ptr, char ** new_multi_samples, size_t array_size)

ARGUMENTS
bl_vcf_ptr      Pointer to the structure to set
new_multi_samples The new value for multi_samples
array_size      Size of the multi_samples array.

DESCRIPTION
Mutator for multi_samples member in a bl_vcf_t structure. Use this function to set multi_samples in a bl_vcf_t variable from non-member functions. This function copies the array pointed to by new_multi_samples to ->multi_samples. Note that there is an equivalent macro BL_VCF_SET_MULTI_SAMPLES(), which performs this function with no data verification or function call overhead. Use the macro version to maximize performance where the validity of new_multi_samples is guaranteed by other means.

EXAMPLES
bl_vcf_t        bl_vcf;
char **         new_multi_samples;
size_t          array_size;
if ( bl_vcf_set_multi_samples(&bl_vcf, new_multi_samples, array_size) == BL_DATA_OK )
{
}

SEE ALSO
BL_VCF_SET_MULTI_SAMPLES(3)