#include <biolibc/bed.h>
-lbiolibc -lxtend
BL_BED_ITEM_RGB_AE(ptr, c)
ptr Pointer to a bl_bed_t structure
c Subscript to the item_rgb array
Accessor macro for item_rgb array elements. Use this macro to reference an
element of item_rgb in a bl_bed_t structure from functions that are not
members of the class. This allows separation of implementation from interface.
While the implementation of the bl_bed_t structure may change, effort is made
to preserve the API of functions and macros used to access it.
bl_bed_t bl_bed;
size_t c;
char element;
element = BL_BED_ITEM_RGB_AE(&bl_bed,c);
See biolibc/bed.h for a full list of macros.