So I have this code:
#include \"boost_bind.h\" #include #include #include double foo(double num, double (*func)(
Try using a typedef:
extern "C" { typedef double (*CDoubleFunc)(double); } double foo(double num, CDoubleFunc func) { return 65.4; }