From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22840 invoked by alias); 11 Jun 2006 10:05:07 -0000 Received: (qmail 22825 invoked by uid 22791); 11 Jun 2006 10:05:04 -0000 X-Spam-Check-By: sourceware.org Received: from divok.RZ-Berlin.MPG.DE (HELO divok.rz-berlin.mpg.de) (141.14.131.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 11 Jun 2006 10:04:58 +0000 Received: from divok.rz-berlin.mpg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 689C62A08D for ; Sun, 11 Jun 2006 12:04:54 +0200 (CEST) Received: from doze.jochen-kuepper.de.fhi-berlin.mpg.de (kuepper-hap-004.RZ-Berlin.MPG.DE [141.14.169.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by divok.rz-berlin.mpg.de (Postfix) with ESMTP id EB9BB2A08C for ; Sun, 11 Jun 2006 12:04:35 +0200 (CEST) From: =?iso-8859-1?Q?Jochen_K=FCpper?= To: gsl-discuss@sources.redhat.com Subject: Let C++ always use inline functions (patch) X-Archive: encrypt X-Attribution: Jochen OpenPGP: id=CC1B0B4D; url=http://jochen-kuepper.de/computer/keys.asc X-Request-PGP: http://jochen-kuepper.de/computer/keys.asc X-URL: http://jochen-kuepper.de Date: Sun, 11 Jun 2006 18:59:00 -0000 Message-ID: <9ever89ffd.fsf@doze.jochen-kuepper.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Seen-By: PP&B-Host divok X-PPB-Spam: Gauge=IIIIIII, Probability=7% Mailing-List: contact gsl-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sourceware.org X-SW-Source: 2006-q2/txt/msg00091.txt.bz2 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 974 Hi, attached is a patch against current CVS that will always use the inline-d versions when using a C++ compiler. It replaces the old test for "HAVE_INLINE" by a test for that macro /or/ C++: ,---- | -#ifdef HAVE_INLINE | +#if (defined HAVE_INLINE) || (defined __cplusplus) `---- This is ok, as a C++ compiler is required by the standard to handle "inline". It helps, because C++ programs then always use the faster inline versions automatically.=20 (C++ programs often don't define HAVE_INLINE at all and it is an unnecessary burden on the programmer.) A few Makefiles had to be adopted to link test-binaries against libgslcomplex.la, this is included in the patch. It would be great if this could make it into the next release;) Greetings, Jochen --=20 Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Libert=E9, =C9galit=E9, Fraternit=E9 GnuPG key: CC1B0B4D (Part 3 you find in my messages before fall 2003.) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=c++-inline.diff Content-Transfer-Encoding: quoted-printable Content-length: 43321 ? c++-inline.diff Index: gsl_math.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/gsl_math.h,v retrieving revision 1.64 diff -u -u -r1.64 gsl_math.h --- gsl_math.h 26 Jun 2005 13:26:59 -0000 1.64 +++ gsl_math.h 11 Jun 2006 09:52:15 -0000 @@ -127,7 +127,7 @@ double gsl_min (double a, double b); =20 /* inline-friendly strongly typed versions */ -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline int GSL_MAX_INT (int a, int b); extern inline int GSL_MIN_INT (int a, int b); Index: gsl_mode.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/gsl_mode.h,v retrieving revision 1.11 diff -u -u -r1.11 gsl_mode.h --- gsl_mode.h 26 Jun 2005 13:26:59 -0000 1.11 +++ gsl_mode.h 11 Jun 2006 09:52:15 -0000 @@ -66,7 +66,7 @@ #define GSL_PREC_SINGLE 1 #define GSL_PREC_APPROX 2 =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline unsigned int GSL_MODE_PREC(gsl_mode_t mt); =20 extern inline unsigned int Index: gsl_pow_int.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/gsl_pow_int.h,v retrieving revision 1.5 diff -u -u -r1.5 gsl_pow_int.h --- gsl_pow_int.h 26 Jun 2005 13:26:59 -0000 1.5 +++ gsl_pow_int.h 11 Jun 2006 09:52:15 -0000 @@ -32,7 +32,7 @@ =20 __BEGIN_DECLS =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline double gsl_pow_2(const double x); extern inline double gsl_pow_3(const double x); extern inline double gsl_pow_4(const double x); Index: cdf/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/cdf/Makefile.am,v retrieving revision 1.8 diff -u -u -r1.8 Makefile.am --- cdf/Makefile.am 9 Mar 2006 15:53:32 -0000 1.8 +++ cdf/Makefile.am 11 Jun 2006 09:52:15 -0000 @@ -14,4 +14,4 @@ check_PROGRAMS =3D test =20 test_SOURCES =3D test.c -test_LDADD =3D libgslcdf.la ../randist/libgslrandist.la ../rng/libgslrng.l= a ../specfunc/libgslspecfunc.la ../ieee-utils/libgslieeeutils.la ../err/lib= gslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la +test_LDADD =3D libgslcdf.la ../randist/libgslrandist.la ../rng/libgslrng.l= a ../specfunc/libgslspecfunc.la ../ieee-utils/libgslieeeutils.la ../err/lib= gslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la ..= /complex/libgslcomplex.la Index: combination/gsl_combination.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/combination/gsl_combination.h,v retrieving revision 1.7 diff -u -u -r1.7 gsl_combination.h --- combination/gsl_combination.h 26 Jun 2005 13:27:00 -0000 1.7 +++ combination/gsl_combination.h 11 Jun 2006 09:52:16 -0000 @@ -69,7 +69,7 @@ int gsl_combination_next (gsl_combination * c); int gsl_combination_prev (gsl_combination * c); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline size_t Index: complex/gsl_complex_math.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/complex/gsl_complex_math.h,v retrieving revision 1.13 diff -u -u -r1.13 gsl_complex_math.h --- complex/gsl_complex_math.h 26 Jun 2005 13:27:00 -0000 1.13 +++ complex/gsl_complex_math.h 11 Jun 2006 09:52:16 -0000 @@ -38,7 +38,7 @@ gsl_complex gsl_complex_rect (double x, double y); /* r=3D real+i*imag */ gsl_complex gsl_complex_polar (double r, double theta); /* r=3D r e^(i the= ta) */ =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline gsl_complex gsl_complex_rect (double x, double y) { /* return z =3D x + i y */ Index: dht/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/dht/Makefile.am,v retrieving revision 1.12 diff -u -u -r1.12 Makefile.am --- dht/Makefile.am 29 Jul 2004 13:11:19 -0000 1.12 +++ dht/Makefile.am 11 Jun 2006 09:52:16 -0000 @@ -8,7 +8,7 @@ =20 check_PROGRAMS =3D test =20 -test_LDADD =3D libgsldht.la ../specfunc/libgslspecfunc.la ../ieee-utils/l= ibgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsy= s.la ../utils/libutils.la +test_LDADD =3D libgsldht.la ../specfunc/libgslspecfunc.la ../ieee-utils/l= ibgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsy= s.la ../utils/libutils.la ../complex/libgslcomplex.la =20 test_SOURCES =3D test.c =20 Index: doc/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/doc/.cvsignore,v retrieving revision 1.5 diff -u -u -r1.5 .cvsignore --- doc/.cvsignore 23 Jul 2004 16:55:12 -0000 1.5 +++ doc/.cvsignore 11 Jun 2006 09:52:16 -0000 @@ -11,6 +11,7 @@ *.ky *.la *.log +*.pdf *.pg *.ps *.toc Index: interpolation/bsearch.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/interpolation/bsearch.h,v retrieving revision 1.12 diff -u -u -r1.12 bsearch.h --- interpolation/bsearch.h 26 Jun 2005 13:27:03 -0000 1.12 +++ interpolation/bsearch.h 11 Jun 2006 09:52:16 -0000 @@ -52,7 +52,7 @@ ); =20 =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline size_t Index: interpolation/gsl_interp.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/interpolation/gsl_interp.h,v retrieving revision 1.26 diff -u -u -r1.26 gsl_interp.h --- interpolation/gsl_interp.h 26 Jun 2005 13:27:03 -0000 1.26 +++ interpolation/gsl_interp.h 11 Jun 2006 09:52:16 -0000 @@ -151,7 +151,7 @@ size_t gsl_interp_bsearch(const double x_array[], double x, size_t index_lo, size_t index_hi); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline size_t gsl_interp_bsearch(const double x_array[], double x, size_t index_lo, size_t index_hi); @@ -174,7 +174,7 @@ } #endif =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline size_t gsl_interp_accel_find(gsl_interp_accel * a, const double xa[], size_t len,= double x) { Index: matrix/gsl_matrix_char.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/matrix/gsl_matrix_char.h,v retrieving revision 1.51 diff -u -u -r1.51 gsl_matrix_char.h --- matrix/gsl_matrix_char.h 26 Jun 2005 13:27:03 -0000 1.51 +++ matrix/gsl_matrix_char.h 11 Jun 2006 09:52:16 -0000 @@ -240,7 +240,7 @@ =20 /* inline functions if you are using GCC */ =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline=20 char gsl_matrix_char_get(const gsl_matrix_char * m, const size_t i, const size_= t j) Index: matrix/gsl_matrix_complex_double.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/matrix/gsl_matrix_complex_double.h,v retrieving revision 1.51 diff -u -u -r1.51 gsl_matrix_complex_double.h --- matrix/gsl_matrix_complex_double.h 26 Jun 2005 13:27:03 -0000 1.51 +++ matrix/gsl_matrix_complex_double.h 11 Jun 2006 09:52:16 -0000 @@ -228,7 +228,7 @@ int gsl_matrix_complex_set_row(gsl_matrix_complex * m, const size_t i, con= st gsl_vector_complex * v); int gsl_matrix_complex_set_col(gsl_matrix_complex * m, const size_t j, con= st gsl_vector_complex * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline=20 gsl_complex Index: matrix/gsl_matrix_complex_float.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/matrix/gsl_matrix_complex_float.h,v retrieving revision 1.52 diff -u -u -r1.52 gsl_matrix_complex_float.h --- matrix/gsl_matrix_complex_float.h 26 Jun 2005 13:27:03 -0000 1.52 +++ matrix/gsl_matrix_complex_float.h 11 Jun 2006 09:52:16 -0000 @@ -228,7 +228,7 @@ int gsl_matrix_complex_float_set_row(gsl_matrix_complex_float * m, const s= ize_t i, const gsl_vector_complex_float * v); int gsl_matrix_complex_float_set_col(gsl_matrix_complex_float * m, const s= ize_t j, const gsl_vector_complex_float * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline=20 gsl_complex_float Index: matrix/gsl_matrix_complex_long_double.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/matrix/gsl_matrix_complex_long_double.h,v retrieving revision 1.51 diff -u -u -r1.51 gsl_matrix_complex_long_double.h --- matrix/gsl_matrix_complex_long_double.h 26 Jun 2005 13:27:03 -0000 1.51 +++ matrix/gsl_matrix_complex_long_double.h 11 Jun 2006 09:52:16 -0000 @@ -228,7 +228,7 @@ int gsl_matrix_complex_long_double_set_row(gsl_matrix_complex_long_double = * m, const size_t i, const gsl_vector_complex_long_double * v); int gsl_matrix_complex_long_double_set_col(gsl_matrix_complex_long_double = * m, const size_t j, const gsl_vector_complex_long_double * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline=20 gsl_complex_long_double Index: matrix/gsl_matrix_double.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/matrix/gsl_matrix_double.h,v retrieving revision 1.50 diff -u -u -r1.50 gsl_matrix_double.h --- matrix/gsl_matrix_double.h 26 Jun 2005 13:27:03 -0000 1.50 +++ matrix/gsl_matrix_double.h 11 Jun 2006 09:52:16 -0000 @@ -1,17 +1,17 @@ /* matrix/gsl_matrix_double.h - *=20 + * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, Brian Gough - *=20 + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. - *=20 + * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. - *=20 + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-130= 1, USA. @@ -38,7 +38,7 @@ =20 __BEGIN_DECLS =20 -typedef struct=20 +typedef struct { size_t size1; size_t size2; @@ -64,31 +64,31 @@ =20 /* Allocation */ =20 -gsl_matrix *=20 +gsl_matrix * gsl_matrix_alloc (const size_t n1, const size_t n2); =20 -gsl_matrix *=20 +gsl_matrix * gsl_matrix_calloc (const size_t n1, const size_t n2); =20 -gsl_matrix *=20 -gsl_matrix_alloc_from_block (gsl_block * b,=20 - const size_t offset,=20 - const size_t n1,=20 - const size_t n2,=20 +gsl_matrix * +gsl_matrix_alloc_from_block (gsl_block * b, + const size_t offset, + const size_t n1, + const size_t n2, const size_t d2); =20 -gsl_matrix *=20 +gsl_matrix * gsl_matrix_alloc_from_matrix (gsl_matrix * m, - const size_t k1,=20 + const size_t k1, const size_t k2, - const size_t n1,=20 + const size_t n1, const size_t n2); =20 -gsl_vector *=20 +gsl_vector * gsl_vector_alloc_row_from_matrix (gsl_matrix * m, const size_t i); =20 -gsl_vector *=20 +gsl_vector * gsl_vector_alloc_col_from_matrix (gsl_matrix * m, const size_t j); =20 @@ -96,93 +96,93 @@ =20 /* Views */ =20 -_gsl_matrix_view=20 -gsl_matrix_submatrix (gsl_matrix * m,=20 - const size_t i, const size_t j,=20 +_gsl_matrix_view +gsl_matrix_submatrix (gsl_matrix * m, + const size_t i, const size_t j, const size_t n1, const size_t n2); =20 -_gsl_vector_view=20 +_gsl_vector_view gsl_matrix_row (gsl_matrix * m, const size_t i); =20 -_gsl_vector_view=20 +_gsl_vector_view gsl_matrix_column (gsl_matrix * m, const size_t j); =20 -_gsl_vector_view=20 +_gsl_vector_view gsl_matrix_diagonal (gsl_matrix * m); =20 -_gsl_vector_view=20 +_gsl_vector_view gsl_matrix_subdiagonal (gsl_matrix * m, const size_t k); =20 -_gsl_vector_view=20 +_gsl_vector_view gsl_matrix_superdiagonal (gsl_matrix * m, const size_t k); =20 _gsl_matrix_view gsl_matrix_view_array (double * base, - const size_t n1,=20 + const size_t n1, const size_t n2); =20 _gsl_matrix_view -gsl_matrix_view_array_with_tda (double * base,=20 - const size_t n1,=20 +gsl_matrix_view_array_with_tda (double * base, + const size_t n1, const size_t n2, const size_t tda); =20 =20 _gsl_matrix_view gsl_matrix_view_vector (gsl_vector * v, - const size_t n1,=20 + const size_t n1, const size_t n2); =20 _gsl_matrix_view gsl_matrix_view_vector_with_tda (gsl_vector * v, - const size_t n1,=20 + const size_t n1, const size_t n2, const size_t tda); =20 =20 -_gsl_matrix_const_view=20 -gsl_matrix_const_submatrix (const gsl_matrix * m,=20 - const size_t i, const size_t j,=20 +_gsl_matrix_const_view +gsl_matrix_const_submatrix (const gsl_matrix * m, + const size_t i, const size_t j, const size_t n1, const size_t n2); =20 -_gsl_vector_const_view=20 -gsl_matrix_const_row (const gsl_matrix * m,=20 +_gsl_vector_const_view +gsl_matrix_const_row (const gsl_matrix * m, const size_t i); =20 -_gsl_vector_const_view=20 -gsl_matrix_const_column (const gsl_matrix * m,=20 +_gsl_vector_const_view +gsl_matrix_const_column (const gsl_matrix * m, const size_t j); =20 _gsl_vector_const_view gsl_matrix_const_diagonal (const gsl_matrix * m); =20 -_gsl_vector_const_view=20 -gsl_matrix_const_subdiagonal (const gsl_matrix * m,=20 +_gsl_vector_const_view +gsl_matrix_const_subdiagonal (const gsl_matrix * m, const size_t k); =20 -_gsl_vector_const_view=20 -gsl_matrix_const_superdiagonal (const gsl_matrix * m,=20 +_gsl_vector_const_view +gsl_matrix_const_superdiagonal (const gsl_matrix * m, const size_t k); =20 _gsl_matrix_const_view gsl_matrix_const_view_array (const double * base, - const size_t n1,=20 + const size_t n1, const size_t n2); =20 _gsl_matrix_const_view -gsl_matrix_const_view_array_with_tda (const double * base,=20 - const size_t n1,=20 +gsl_matrix_const_view_array_with_tda (const double * base, + const size_t n1, const size_t n2, const size_t tda); =20 _gsl_matrix_const_view gsl_matrix_const_view_vector (const gsl_vector * v, - const size_t n1,=20 + const size_t n1, const size_t n2); =20 _gsl_matrix_const_view gsl_matrix_const_view_vector_with_tda (const gsl_vector * v, - const size_t n1,=20 + const size_t n1, const size_t n2, const size_t tda); =20 @@ -202,7 +202,7 @@ int gsl_matrix_fwrite (FILE * stream, const gsl_matrix * m) ; int gsl_matrix_fscanf (FILE * stream, gsl_matrix * m); int gsl_matrix_fprintf (FILE * stream, const gsl_matrix * m, const char * = format); -=20 + int gsl_matrix_memcpy(gsl_matrix * dest, const gsl_matrix * src); int gsl_matrix_swap(gsl_matrix * m1, gsl_matrix * m2); =20 @@ -240,8 +240,8 @@ =20 /* inline functions if you are using GCC */ =20 -#ifdef HAVE_INLINE -extern inline=20 +#if (defined HAVE_INLINE) || (defined __cplusplus) +extern inline double gsl_matrix_get(const gsl_matrix * m, const size_t i, const size_t j) { @@ -256,9 +256,9 @@ } #endif return m->data[i * m->tda + j] ; -}=20 +} =20 -extern inline=20 +extern inline void gsl_matrix_set(gsl_matrix * m, const size_t i, const size_t j, const doubl= e x) { @@ -275,7 +275,7 @@ m->data[i * m->tda + j] =3D x ; } =20 -extern inline=20 +extern inline double * gsl_matrix_ptr(gsl_matrix * m, const size_t i, const size_t j) { @@ -290,9 +290,9 @@ } #endif return (double *) (m->data + (i * m->tda + j)) ; -}=20 +} =20 -extern inline=20 +extern inline const double * gsl_matrix_const_ptr(const gsl_matrix * m, const size_t i, const size_t j) { @@ -307,7 +307,7 @@ } #endif return (const double *) (m->data + (i * m->tda + j)) ; -}=20 +} =20 #endif =20 Index: matrix/gsl_matrix_float.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/matrix/gsl_matrix_float.h,v retrieving revision 1.55 diff -u -u -r1.55 gsl_matrix_float.h --- matrix/gsl_matrix_float.h 26 Jun 2005 13:27:03 -0000 1.55 +++ matrix/gsl_matrix_float.h 11 Jun 2006 09:52:16 -0000 @@ -240,7 +240,7 @@ =20 /* inline functions if you are using GCC */ =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline=20 float gsl_matrix_float_get(const gsl_matrix_float * m, const size_t i, const siz= e_t j) Index: matrix/gsl_matrix_int.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/matrix/gsl_matrix_int.h,v retrieving revision 1.55 diff -u -u -r1.55 gsl_matrix_int.h --- matrix/gsl_matrix_int.h 26 Jun 2005 13:27:03 -0000 1.55 +++ matrix/gsl_matrix_int.h 11 Jun 2006 09:52:16 -0000 @@ -240,7 +240,7 @@ =20 /* inline functions if you are using GCC */ =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline=20 int gsl_matrix_int_get(const gsl_matrix_int * m, const size_t i, const size_t = j) Index: matrix/gsl_matrix_long.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/matrix/gsl_matrix_long.h,v retrieving revision 1.51 diff -u -u -r1.51 gsl_matrix_long.h --- matrix/gsl_matrix_long.h 26 Jun 2005 13:27:03 -0000 1.51 +++ matrix/gsl_matrix_long.h 11 Jun 2006 09:52:16 -0000 @@ -240,7 +240,7 @@ =20 /* inline functions if you are using GCC */ =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline=20 long gsl_matrix_long_get(const gsl_matrix_long * m, const size_t i, const size_= t j) Index: matrix/gsl_matrix_long_double.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/matrix/gsl_matrix_long_double.h,v retrieving revision 1.50 diff -u -u -r1.50 gsl_matrix_long_double.h --- matrix/gsl_matrix_long_double.h 26 Jun 2005 13:27:03 -0000 1.50 +++ matrix/gsl_matrix_long_double.h 11 Jun 2006 09:52:16 -0000 @@ -240,7 +240,7 @@ =20 /* inline functions if you are using GCC */ =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline=20 long double gsl_matrix_long_double_get(const gsl_matrix_long_double * m, const size_t = i, const size_t j) Index: matrix/gsl_matrix_short.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/matrix/gsl_matrix_short.h,v retrieving revision 1.49 diff -u -u -r1.49 gsl_matrix_short.h --- matrix/gsl_matrix_short.h 26 Jun 2005 13:27:03 -0000 1.49 +++ matrix/gsl_matrix_short.h 11 Jun 2006 09:52:16 -0000 @@ -240,7 +240,7 @@ =20 /* inline functions if you are using GCC */ =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline=20 short gsl_matrix_short_get(const gsl_matrix_short * m, const size_t i, const siz= e_t j) Index: matrix/gsl_matrix_uchar.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/matrix/gsl_matrix_uchar.h,v retrieving revision 1.50 diff -u -u -r1.50 gsl_matrix_uchar.h --- matrix/gsl_matrix_uchar.h 26 Jun 2005 13:27:03 -0000 1.50 +++ matrix/gsl_matrix_uchar.h 11 Jun 2006 09:52:16 -0000 @@ -240,7 +240,7 @@ =20 /* inline functions if you are using GCC */ =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline=20 unsigned char gsl_matrix_uchar_get(const gsl_matrix_uchar * m, const size_t i, const siz= e_t j) Index: matrix/gsl_matrix_uint.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/matrix/gsl_matrix_uint.h,v retrieving revision 1.49 diff -u -u -r1.49 gsl_matrix_uint.h --- matrix/gsl_matrix_uint.h 26 Jun 2005 13:27:03 -0000 1.49 +++ matrix/gsl_matrix_uint.h 11 Jun 2006 09:52:16 -0000 @@ -240,7 +240,7 @@ =20 /* inline functions if you are using GCC */ =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline=20 unsigned int gsl_matrix_uint_get(const gsl_matrix_uint * m, const size_t i, const size_= t j) Index: matrix/gsl_matrix_ulong.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/matrix/gsl_matrix_ulong.h,v retrieving revision 1.49 diff -u -u -r1.49 gsl_matrix_ulong.h --- matrix/gsl_matrix_ulong.h 26 Jun 2005 13:27:03 -0000 1.49 +++ matrix/gsl_matrix_ulong.h 11 Jun 2006 09:52:17 -0000 @@ -240,7 +240,7 @@ =20 /* inline functions if you are using GCC */ =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline=20 unsigned long gsl_matrix_ulong_get(const gsl_matrix_ulong * m, const size_t i, const siz= e_t j) Index: matrix/gsl_matrix_ushort.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/matrix/gsl_matrix_ushort.h,v retrieving revision 1.49 diff -u -u -r1.49 gsl_matrix_ushort.h --- matrix/gsl_matrix_ushort.h 26 Jun 2005 13:27:03 -0000 1.49 +++ matrix/gsl_matrix_ushort.h 11 Jun 2006 09:52:17 -0000 @@ -240,7 +240,7 @@ =20 /* inline functions if you are using GCC */ =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline=20 unsigned short gsl_matrix_ushort_get(const gsl_matrix_ushort * m, const size_t i, const s= ize_t j) Index: permutation/gsl_permutation.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/permutation/gsl_permutation.h,v retrieving revision 1.22 diff -u -u -r1.22 gsl_permutation.h --- permutation/gsl_permutation.h 26 Jun 2005 13:27:05 -0000 1.22 +++ permutation/gsl_permutation.h 11 Jun 2006 09:52:17 -0000 @@ -76,7 +76,7 @@ size_t gsl_permutation_linear_cycles (const gsl_permutation * p); size_t gsl_permutation_canonical_cycles (const gsl_permutation * q); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline size_t Index: poly/gsl_poly.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/poly/gsl_poly.h,v retrieving revision 1.20 diff -u -u -r1.20 gsl_poly.h --- poly/gsl_poly.h 26 Jun 2005 13:27:05 -0000 1.20 +++ poly/gsl_poly.h 11 Jun 2006 09:52:17 -0000 @@ -45,7 +45,7 @@ double gsl_poly_eval(const double c[], const int len, const double x); =20 =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline double gsl_poly_eval(const double c[], const int len, const double x) { @@ -65,7 +65,7 @@ double gsl_poly_dd_eval (const double dd[], const double xa[], const size_t size,= const double x); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline double gsl_poly_dd_eval(const double dd[], const double xa[], const size_t= size, const double x) { Index: qrng/gsl_qrng.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/qrng/gsl_qrng.h,v retrieving revision 1.9 diff -u -u -r1.9 gsl_qrng.h --- qrng/gsl_qrng.h 21 Apr 2006 12:09:43 -0000 1.9 +++ qrng/gsl_qrng.h 11 Jun 2006 09:52:17 -0000 @@ -94,7 +94,7 @@ int gsl_qrng_get (const gsl_qrng * q, double x[]); =20 =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline int gsl_qrng_get (const gsl_qrng * q, double x[]); extern inline int gsl_qrng_get (const gsl_qrng * q, double x[]) { Index: randist/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/randist/Makefile.am,v retrieving revision 1.47 diff -u -u -r1.47 Makefile.am --- randist/Makefile.am 1 Feb 2006 16:55:25 -0000 1.47 +++ randist/Makefile.am 11 Jun 2006 09:52:17 -0000 @@ -11,6 +11,6 @@ check_PROGRAMS =3D test =20 test_SOURCES =3D test.c -test_LDADD =3D libgslrandist.la ../rng/libgslrng.la ../specfunc/libgslspec= func.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsl= test.la ../sys/libgslsys.la ../utils/libutils.la +test_LDADD =3D libgslrandist.la ../rng/libgslrng.la ../specfunc/libgslspec= func.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsl= test.la ../sys/libgslsys.la ../utils/libutils.la ../complex/libgslcomplex.la =20 =20 Index: rng/gsl_rng.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/rng/gsl_rng.h,v retrieving revision 1.58 diff -u -u -r1.58 gsl_rng.h --- rng/gsl_rng.h 17 Dec 2005 16:48:58 -0000 1.58 +++ rng/gsl_rng.h 11 Jun 2006 09:52:17 -0000 @@ -152,7 +152,7 @@ unsigned long int gsl_rng_uniform_int (const gsl_rng * r, unsigned long in= t n); =20 =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline unsigned long int gsl_rng_get (const gsl_rng * r); =20 extern inline unsigned long int Index: specfunc/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/specfunc/Makefile.am,v retrieving revision 1.100 diff -u -u -r1.100 Makefile.am --- specfunc/Makefile.am 1 Jun 2006 00:05:22 -0000 1.100 +++ specfunc/Makefile.am 11 Jun 2006 09:52:17 -0000 @@ -12,7 +12,7 @@ =20 check_PROGRAMS =3D test =20 -test_LDADD =3D libgslspecfunc.la ../eigen/libgsleigen.la ../linalg/libgsll= inalg.la ../sort/libgslsort.la ../matrix/libgslmatrix.la ../vector/libgslv= ector.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../block/libgslblock= .la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/li= bgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la +test_LDADD =3D libgslspecfunc.la ../complex/libgslcomplex.la ../eigen/libg= sleigen.la ../linalg/libgsllinalg.la ../sort/libgslsort.la ../matrix/libgs= lmatrix.la ../vector/libgslvector.la ../blas/libgslblas.la ../cblas/libgslc= blas.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/l= ibgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgsls= ys.la ../utils/libutils.la =20 test_SOURCES =3D test_sf.c test_sf.h test_airy.c test_bessel.c test_coulom= b.c test_dilog.c test_gamma.c test_hyperg.c test_legendre.c test_mathieu.c =20=20=20 Index: specfunc/gsl_sf_exp.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/specfunc/gsl_sf_exp.h,v retrieving revision 1.30 diff -u -u -r1.30 gsl_sf_exp.h --- specfunc/gsl_sf_exp.h 26 Jun 2005 13:27:08 -0000 1.30 +++ specfunc/gsl_sf_exp.h 11 Jun 2006 09:52:17 -0000 @@ -130,7 +130,7 @@ __END_DECLS =20 =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) #include #include =20 Index: specfunc/gsl_sf_legendre.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/specfunc/gsl_sf_legendre.h,v retrieving revision 1.43 diff -u -u -r1.43 gsl_sf_legendre.h --- specfunc/gsl_sf_legendre.h 26 Jun 2005 13:27:08 -0000 1.43 +++ specfunc/gsl_sf_legendre.h 11 Jun 2006 09:52:17 -0000 @@ -311,7 +311,7 @@ int gsl_sf_legendre_H3d_array(const int lmax, const double lambda, const d= ouble eta, double * result_array); =20 =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) extern inline int gsl_sf_legendre_array_size(const int lmax, const int m) Index: specfunc/gsl_sf_log.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/specfunc/gsl_sf_log.h,v retrieving revision 1.24 diff -u -u -r1.24 gsl_sf_log.h --- specfunc/gsl_sf_log.h 26 Jun 2005 13:27:08 -0000 1.24 +++ specfunc/gsl_sf_log.h 11 Jun 2006 09:52:17 -0000 @@ -78,7 +78,7 @@ double gsl_sf_log_1plusx_mx(const double x); =20 =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) #include #include =20 Index: vector/gsl_vector_char.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/vector/gsl_vector_char.h,v retrieving revision 1.51 diff -u -u -r1.51 gsl_vector_char.h --- vector/gsl_vector_char.h 26 Jun 2005 13:27:11 -0000 1.51 +++ vector/gsl_vector_char.h 11 Jun 2006 09:52:17 -0000 @@ -162,7 +162,7 @@ =20 int gsl_vector_char_isnull (const gsl_vector_char * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline char Index: vector/gsl_vector_complex_double.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/vector/gsl_vector_complex_double.h,v retrieving revision 1.46 diff -u -u -r1.46 gsl_vector_complex_double.h --- vector/gsl_vector_complex_double.h 26 Jun 2005 13:27:11 -0000 1.46 +++ vector/gsl_vector_complex_double.h 11 Jun 2006 09:52:17 -0000 @@ -178,7 +178,7 @@ =20 int gsl_vector_complex_isnull (const gsl_vector_complex * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline gsl_complex Index: vector/gsl_vector_complex_float.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/vector/gsl_vector_complex_float.h,v retrieving revision 1.51 diff -u -u -r1.51 gsl_vector_complex_float.h --- vector/gsl_vector_complex_float.h 26 Jun 2005 13:27:11 -0000 1.51 +++ vector/gsl_vector_complex_float.h 11 Jun 2006 09:52:17 -0000 @@ -178,7 +178,7 @@ =20 int gsl_vector_complex_float_isnull (const gsl_vector_complex_float * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline gsl_complex_float Index: vector/gsl_vector_complex_long_double.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/vector/gsl_vector_complex_long_double.h,v retrieving revision 1.53 diff -u -u -r1.53 gsl_vector_complex_long_double.h --- vector/gsl_vector_complex_long_double.h 26 Jun 2005 13:27:11 -0000 1.53 +++ vector/gsl_vector_complex_long_double.h 11 Jun 2006 09:52:17 -0000 @@ -178,7 +178,7 @@ =20 int gsl_vector_complex_long_double_isnull (const gsl_vector_complex_long_d= ouble * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline gsl_complex_long_double Index: vector/gsl_vector_double.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/vector/gsl_vector_double.h,v retrieving revision 1.49 diff -u -u -r1.49 gsl_vector_double.h --- vector/gsl_vector_double.h 26 Jun 2005 13:27:11 -0000 1.49 +++ vector/gsl_vector_double.h 11 Jun 2006 09:52:17 -0000 @@ -162,7 +162,7 @@ =20 int gsl_vector_isnull (const gsl_vector * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline double Index: vector/gsl_vector_float.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/vector/gsl_vector_float.h,v retrieving revision 1.56 diff -u -u -r1.56 gsl_vector_float.h --- vector/gsl_vector_float.h 26 Jun 2005 13:27:11 -0000 1.56 +++ vector/gsl_vector_float.h 11 Jun 2006 09:52:17 -0000 @@ -162,7 +162,7 @@ =20 int gsl_vector_float_isnull (const gsl_vector_float * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline float Index: vector/gsl_vector_int.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/vector/gsl_vector_int.h,v retrieving revision 1.57 diff -u -u -r1.57 gsl_vector_int.h --- vector/gsl_vector_int.h 26 Jun 2005 13:27:11 -0000 1.57 +++ vector/gsl_vector_int.h 11 Jun 2006 09:52:17 -0000 @@ -162,7 +162,7 @@ =20 int gsl_vector_int_isnull (const gsl_vector_int * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline int Index: vector/gsl_vector_long.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/vector/gsl_vector_long.h,v retrieving revision 1.49 diff -u -u -r1.49 gsl_vector_long.h --- vector/gsl_vector_long.h 26 Jun 2005 13:27:11 -0000 1.49 +++ vector/gsl_vector_long.h 11 Jun 2006 09:52:17 -0000 @@ -162,7 +162,7 @@ =20 int gsl_vector_long_isnull (const gsl_vector_long * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline long Index: vector/gsl_vector_long_double.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/vector/gsl_vector_long_double.h,v retrieving revision 1.49 diff -u -u -r1.49 gsl_vector_long_double.h --- vector/gsl_vector_long_double.h 26 Jun 2005 13:27:11 -0000 1.49 +++ vector/gsl_vector_long_double.h 11 Jun 2006 09:52:17 -0000 @@ -162,7 +162,7 @@ =20 int gsl_vector_long_double_isnull (const gsl_vector_long_double * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline long double Index: vector/gsl_vector_short.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/vector/gsl_vector_short.h,v retrieving revision 1.49 diff -u -u -r1.49 gsl_vector_short.h --- vector/gsl_vector_short.h 26 Jun 2005 13:27:11 -0000 1.49 +++ vector/gsl_vector_short.h 11 Jun 2006 09:52:17 -0000 @@ -162,7 +162,7 @@ =20 int gsl_vector_short_isnull (const gsl_vector_short * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline short Index: vector/gsl_vector_uchar.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/vector/gsl_vector_uchar.h,v retrieving revision 1.49 diff -u -u -r1.49 gsl_vector_uchar.h --- vector/gsl_vector_uchar.h 26 Jun 2005 13:27:11 -0000 1.49 +++ vector/gsl_vector_uchar.h 11 Jun 2006 09:52:17 -0000 @@ -162,7 +162,7 @@ =20 int gsl_vector_uchar_isnull (const gsl_vector_uchar * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline unsigned char Index: vector/gsl_vector_uint.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/vector/gsl_vector_uint.h,v retrieving revision 1.49 diff -u -u -r1.49 gsl_vector_uint.h --- vector/gsl_vector_uint.h 26 Jun 2005 13:27:11 -0000 1.49 +++ vector/gsl_vector_uint.h 11 Jun 2006 09:52:17 -0000 @@ -162,7 +162,7 @@ =20 int gsl_vector_uint_isnull (const gsl_vector_uint * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline unsigned int Index: vector/gsl_vector_ulong.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/vector/gsl_vector_ulong.h,v retrieving revision 1.49 diff -u -u -r1.49 gsl_vector_ulong.h --- vector/gsl_vector_ulong.h 26 Jun 2005 13:27:11 -0000 1.49 +++ vector/gsl_vector_ulong.h 11 Jun 2006 09:52:17 -0000 @@ -162,7 +162,7 @@ =20 int gsl_vector_ulong_isnull (const gsl_vector_ulong * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline unsigned long Index: vector/gsl_vector_ushort.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/gsl/gsl/vector/gsl_vector_ushort.h,v retrieving revision 1.49 diff -u -u -r1.49 gsl_vector_ushort.h --- vector/gsl_vector_ushort.h 26 Jun 2005 13:27:11 -0000 1.49 +++ vector/gsl_vector_ushort.h 11 Jun 2006 09:52:17 -0000 @@ -162,7 +162,7 @@ =20 int gsl_vector_ushort_isnull (const gsl_vector_ushort * v); =20 -#ifdef HAVE_INLINE +#if (defined HAVE_INLINE) || (defined __cplusplus) =20 extern inline unsigned short --=-=-=-- --==-=-= Content-Type: application/pgp-signature Content-length: 188 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD4DBQFEi+qp7eYXdswbC00RAu0oAJipNOKzQkue7eqlQE8r+vsSpYKDAKCdTFsb 2JwjGhN9E540uJ+noxQGjw== =8XRN -----END PGP SIGNATURE----- --==-=-=--