I'd like to hear your opinion about the following: I always declare a struct with a _t suffix in the name, like the following:
Code: Select all
typedef struct cal_t {
float xm;
float ym;
float xn;
float yn;
} cal_t;
But currently, a few structs in the library, like the Touchpad- and the GDISP driver struct do not have that suffix.
I guess we don't need to argue about having both or not, we should just decide and stick to one.
Personally, I like the _t prefix pretty much, because I think that this reads itself a bit better:
Code: Select all
struct cal_t cal;than
Code: Select all
struct cal cal;What do you guys think? What should we choose and why?
~ Tectu