I can represent struct like the following using
{ a, b }
it's similar to list in PERL right?
in perl I can do something like - ( a, b, c )
############### ###########
typedef struct {
Setup setupID;
const char *setupString;
} SetupCode;
static const SetupCode g_SetupRecordTa ble[] = {
{GRAPHIC_TEST, "graphic"},
{KEYBOARD_TEST, "keyboard"} ,
{MY_TEST, "mytest"}
};
{ a, b }
it's similar to list in PERL right?
in perl I can do something like - ( a, b, c )
############### ###########
typedef struct {
Setup setupID;
const char *setupString;
} SetupCode;
static const SetupCode g_SetupRecordTa ble[] = {
{GRAPHIC_TEST, "graphic"},
{KEYBOARD_TEST, "keyboard"} ,
{MY_TEST, "mytest"}
};