Can someone explain the difference between these two typedefs? (Function pointer related)

Posted by Quicksilver on Stack Overflow See other posts from Stack Overflow or by Quicksilver
Published on 2010-03-12T06:03:19Z Indexed on 2010/03/12 6:07 UTC
Read the original article Hit count: 205

Filed under:
|
|

This one is quite obviously a function pointer :

typedef int (* foobar) (int a, unsigned char *b, unsigned int c);

But what does this one do?

typedef int (foobar *) (int a, unsigned char *b, unsigned int c);

© Stack Overflow or respective owner

Related posts about c

    Related posts about typedef