C Gibberish to English
cdecl.org
C Gibberish to English
1–10 of 54 posts
Re: C Gibberish to English
#2Re: C Gibberish to English
#3Granted, the function pointer syntax is forever confusing (to me anyway). The rest is easily tackled by naming things.
Even for function pointers, it’s just one lookup and then you can copy-paste the typedef for any other function pointer types in the project.
Re: C Gibberish to English
#4Re: C Gibberish to English
#5Re: C Gibberish to English
#6Use typedef? Granted, the function pointer syntax is forever confusing (to me anyway). The rest is easily tackled by naming things. Even for function pointers, it’s just one lookup and then you can copy-paste the typedef for any other function pointer types in the project.
What if you're given somebody else's code and you need to understand it to put a typedef there
Re: C Gibberish to English
#7typedef uint64_t qbb_t __attribute__((vector_size(sizeof(uint64_t) * 4)))
Syntax error
OK, its an extension, meh.
Re: C Gibberish to English
#8Re: C Gibberish to English
#9Use typedef? Granted, the function pointer syntax is forever confusing (to me anyway). The rest is easily tackled by naming things. Even for function pointers, it’s just one lookup and then you can copy-paste the typedef for any other function pointer types in the project.
(NOT the author. It simply helped me.)
Re: C Gibberish to English
#10Use typedef? Granted, the function pointer syntax is forever confusing (to me anyway). The rest is easily tackled by naming things. Even for function pointers, it’s just one lookup and then you can copy-paste the typedef for any other function pointer types in the project.
>Use typedef? What if you're given somebody else's code and you need to understand it to put a typedef there
(Yes, this is a joke)