4 /** Collection of useful macros to assist in correctly wrapping and
5 mapping C callbacks to the C++ member functions.
8 #define C_GENERICCB(FN, METHOD) \
9 extern "C" void C_##FN##METHOD(FL_OBJECT * ob, long d) \
14 // Return CB's all seem to take a void* as the 2nd argument and return an int.
15 #define C_RETURNCB(FN, METHOD) \
16 extern "C" int C_##FN##METHOD(FL_FORM * ob, void * d) \
18 return FN::METHOD(ob, d); \