
6 Feb
2009
6 Feb
'09
2:07 a.m.
Max schrieb:
in some external header file I have the declaration
typedef void (* FUNCTION)(int ,void *);
try with typedef boost::function<void (int ,void *)> FUNCTION;
void SetCallback(FUNCTION cb);
I can't change this definition because it is in an header of an external library...Is there another way? Regards Hansjörg