#define MAX_CALLBACK_TYPE 100
static struct {
char stu_type;
int flags;
void *callback;
} msg_callback[MAX_CALLBACK_TYPE] ;
如上结构体初始化:
#define MAX_CALLBACK_TYPE 100
#define MAX_CALLBACK_TYPE 100
static struct {
char stu_type;
int flags;
void *callback;
} msg_callback[MAX_CALLBACK_TYPE] ;
如上结构体初始化:
#define MAX_CALLBACK_TYPE 100