This is the mail archive of the gsl-discuss@sourceware.org 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]
Other format: [Raw text]

Consistently naming anonymous structs


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


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