19
Geoxion
4y

C function pointer syntax. Every time I have to look it up!

Comments
  • 1
    This.
  • 7
    Last year, I had a struct that contained both a data pointer and arrays of function pointers, and the whole shebang as const with static initialiser. I had to look up the syntax, but I got it working without using void pointers.
  • 1
    Me learning Rust:
    Jokes on you, I'm into that shit
  • 2
    Reminds me of fuckingblocksyntax.com

    It's for closures in Objective-C but quite similar to function pointers in C. You need to replace * with ^

    Maybe something like this website exists for C as well.
  • 2
    Lol here it is:

    fuckingfunctionpointers.com/
Add Comment