search for: max_id_list_len

Displaying 1 result from an estimated 1 matches for "max_id_list_len".

2004 Jan 05
0
No subject
...3 > #define MSG_NO_QUIT_YET 4 // XXX needed?? > #define MSG_ABORT 5 > #define MSG_NOTE_DIRNAME 6 > #define MSG_NOTE_FILENAME 7 > #define MSG_DEC_REFCNT 8 These might work better as an enum, so that gdb can show symbolic values. > typedef struct { > char *names[MAX_ID_LIST_LEN]; > long nums[MAX_ID_LIST_LEN]; > int count; > } ID; Linus has a rule about not using typedefs for structures, because it's good to be clear about whether something is a structure or whatever. I'm inclined to agree. So I would refer to that thing "struct rz_id"...