[cairo] __visibility__ bug fix
cworth at cworth.org
Tue Dec 21 13:24:55 PST 2004
On Mon, 20 Dec 2004 19:59:40 -0800, Keith Packard wrote:
> Around 21 o'clock on Dec 20, =?ISO-8859-1?Q?Kristian_H=F8gsberg?= wrote:
> > extern __internal_linkage cairo_gstate_t *
> > _cairo_gstate_create (void);
Perfect. That fixes the ugly breakup of the type name.
> cairo_private cairo_gstate_t *
> _cairo_gstate_create (void);
And that looks even better. Committed as such.
> Question -- do we need to have 'extern' here? It's normally superfluous in
> function declarations.
Right. I don't think it's necessary. I don't usually use this
myself. I think these appeared along with the original versions of the
slim macros. I've removed them now.
More information about the cairo