Hi,
I saw a declaration as below
typedef void (*P)
(FORMAT_INFO *fmt);
what is this declaration for?
thank you so much
best regard,
paul
The fun sreally tarts when you have a function pointer that either returns a function pointer, or takes a function pointer as parameter, or - gasp - both.
These declarations looks so horrible that most people chooses a multi-step declaration by by creating a separate type-def for the returned pointer and/or for the parameter pointer.
"The fun sreally tarts" -> "The fun really starts"
Oops - must have managed a drag/drop in the text, or else my output ring buffer implementation is seriously broken...
is that a funtion pointer?
hahaha!!just joking
thanks a lot, everyone