On Wed, Dec 8, 2010 at 1:52 PM, I wrote:
> This outputs "static void barfunc (int);" but the function is neither
> static nor does it expect only one int parameter...

here's another example where print_generic_decl() fails:

-----------------------
typedef void (*Handler)( int , void * );
Handler GetFunctionPointer();
-----------------------

This would output "extern void (*Handler) (int, void *)
GetFunctionPointer (void);"

Any other function I could use that is more reliable?


Thanks,
Joachim

Reply via email to