This is the mail archive of the
gsl-discuss@sourceware.cygnus.com
mailing list for the GSL project.
C++ support
- To: gsl-discuss at sourceware dot cygnus dot com
- Subject: C++ support
- From: Jacek Pliszka <pliszka at higgs dot ucdavis dot edu>
- Date: Mon, 22 Nov 1999 17:27:54 -0800 (PST)
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