Re: Function pointer prototype interpretation
- From: "Krishanu Debnath" <krishanu.debnath@xxxxxxxxx>
- Date: 30 Aug 2005 03:24:27 -0700
Alfonso Morra wrote:
> Hi all,
>
> I came accross this FP signature and it has me baffled.
>
> Can anyone explain this signature to me - i.e what are the input and
> output types ?
>
> void(*(*foo)(int))(int,void(*)(int))
>
> Thanks
Did you try cdecl?
[x0030819 asic Linux ~]: cdecl
Type `help' or `?' for help
cdecl> explain void(*(*foo)(int))(int,void(*)(int))
declare foo as pointer to function (int) returning pointer to function
(int, pointer to function (int) returning void) returning void
cdecl> quit
[x0030819 asic Linux ~]:
Krishanu
.
- References:
- Function pointer prototype interpretation
- From: Alfonso Morra
- Function pointer prototype interpretation
- Prev by Date: Function pointer prototype interpretation
- Next by Date: Re: Why doesn't strrstr() exist?
- Previous by thread: Function pointer prototype interpretation
- Next by thread: Re: Function pointer prototype interpretation
- Index(es):
Relevant Pages
|