This is the mail archive of the
gsl-discuss@sourceware.org
mailing list for the GSL project.
Consistently naming anonymous structs
- From: Rhys Ulerich <rhys dot ulerich at gmail dot com>
- To: gsl-discuss at sourceware dot org
- Date: Thu, 24 Apr 2014 15:45:02 -0500
- Subject: Consistently naming anonymous structs
- Authentication-results: sourceware.org; auth=none
Anyone know how badly things break if we changed things like
typedef struct
{
const gsl_rng_type * type;
void *state;
}
gsl_rng;
to
typedef struct gsl_rng
{
const gsl_rng_type * type;
void *state;
}
gsl_rng;
so that some of our opaque types might be forward declared in C++ code?
- Rhys