| farhan3d (23) | |
|
Hi All, Can you kindly tell me what the following is supposed to mean: void *SomeFunction (AnotherFunction *, int);I am trying to decipher some code. Thanks! | |
|
|
|
| Bazzy (6281) | |
It seems a declaration of a function called SomeFunction returning a pointer to void and taking an argument of type AnotherFunction * and the other of type intIs odd the part AnotherFunction * as it looks as a pointer to function but pointers to function have a different syntax
| |
|
|
|
| guestgulkan (2831) | |
| It could be possible that they have actually typedef'd the actual function prototype. | |
|
|
|
| Duoas (6734) | |||
That's the way I always handle function pointers -- via typedef:
Make sure you read through The Function Pointer Tutorials http://www.newty.de/fpt/ Hope this helps. | |||
|
Last edited on
|
|||
| farhan3d (23) | |
| @Duoas: Thanks, I guess that is what I am dealing with here. Am going through the Function Pointer Tutorials. | |
|
|
|