This is the mail archive of the gsl-discuss@sourceware.cygnus.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

C++ support


Hi!

Is there any way the GSL will support C++?

It should be fairly simple. Just adding:

#ifdef __cplusplus
#define __extern_C extern "C"
#else
#define __extern_C 
#endif

in the gsl_errno.h which is included everywhere
and then declaring all functions as 
__extern_C

What do you think about it?

Regards,

Jacek



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]