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

Re: Forward declaration is not possible


Peter Haase writes:
 > Hi, using GSL to implement some random generators, I would like to
 > make a forward declaration for 'gsl_rng' and 'gsl_rng_type'
 > (Otherwise, I have to include the GSL header files in my header
 > file and clients using my random generators must have these GSL
 > header files available ). Unfortunatley a forward declaration is
 > not possible since both 'gsl_rng' and 'gsl_rng_type' are not names
 > of a struct but are defined by typedef as new types

I'm not clear what you want to do on the client side, can you send an
example to motivate it. Thanks.

Brian



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