BL_SAM_SET_TLEN(3)

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

SYNOPSIS

BL_SAM_SET_TLEN(ptr, new_tlen)

ARGUMENTS
ptr             Pointer to a bl_sam_t structure
new_tlen        New value for tlen

DESCRIPTION
Mutator macro for tlen. Use this macro to set tlen in a bl_sam_t structure from functions that are not members of the class. This allows separation of implementation from interface. While the implementation of the bl_sam_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_sam_set_tlen(), 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_tlen is not validated by other means.

EXAMPLES
bl_sam_t        bl_sam;
long            new_tlen;
BL_SAM_SET_TLEN(&bl_sam, new_tlen);

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