BL_FASTA_SET_SEQ_CPY(3)

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

SYNOPSIS

BL_FASTA_SET_SEQ_CPY(ptr, new_seq)

ARGUMENTS
ptr             Pointer to a bl_fasta_t structure
new_seq         New value for seq

DESCRIPTION
Mutator macro for seq. Use this macro to set seq in a bl_fasta_t structure from functions that are not members of the class. This allows separation of implementation from interface. While the implementation of the bl_fasta_t structure may change, effort is made to preserve the API of functions and macros used to access it. Note that there is an equivalent function bl_fasta_set_seq_cpy(), which performs this function with data verification. Use the function version for more robust code with a slight performance penalty if the value of new_seq is not validated by other means.

EXAMPLES
bl_fasta_t      bl_fasta;
char *          new_seq[];
BL_FASTA_SET_SEQ_CPY(&bl_fasta, new_seq);

SEE ALSO
bl_fasta_set_seq_cpy(3)
See biolibc/fasta.h for a full list of macros.