M
Mark
Hello
are there any other pros to using #defined new types, except the one
mentioned in C-FAQ 1.13? Quite often I see in chips SDKs things like these:
#ifndef int8
#define int8 char
#endif
....
#ifndef uint32
#define uint32 unsigned int
#endif
Looks quite ugly to me, I'd prefer 'typedef' these types, but perhaps I'm
missing something?
are there any other pros to using #defined new types, except the one
mentioned in C-FAQ 1.13? Quite often I see in chips SDKs things like these:
#ifndef int8
#define int8 char
#endif
....
#ifndef uint32
#define uint32 unsigned int
#endif
Looks quite ugly to me, I'd prefer 'typedef' these types, but perhaps I'm
missing something?