Hi, Gurus,
Pure C, I am trying to define a enum type with variable number of elements, controlled by macro.
for example
is there a way to make this enum definition automatic populate bases on definition of "A"Code:#define A 2
typdef enum
{
A_0A_1} ENUM_TABLE
A_0, ...A_#(A-1),
Great, thanks,