BL_SAM_BUFF_SET_BUFFERED_COUNT(3)

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

SYNOPSIS

BL_SAM_BUFF_SET_BUFFERED_COUNT(ptr, new_buffered_count)

ARGUMENTS
ptr             Pointer to a bl_sam_buff_t structure
new_buffered_count New value for buffered_count

DESCRIPTION
Mutator macro for buffered_count. Use this macro to set buffered_count in a bl_sam_buff_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_buff_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_buff_set_buffered_count(), 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_buffered_count is not validated by other means.

EXAMPLES
bl_sam_buff_t   bl_sam_buff;
size_t          new_buffered_count;
BL_SAM_BUFF_SET_BUFFERED_COUNT(&bl_sam_buff, new_buffered_count);

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