This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Forward declaration is not possible
- From: Brian Gough <brian dot gough at network-theory dot co dot uk>
- To: Peter Haase <p dot haase at tu-harburg dot de>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Fri, 13 Dec 2002 15:50:58 +0000 (GMT)
- Subject: Re: Forward declaration is not possible
- References: <200212121428.04612.p.haase@tu-harburg.de>
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