[cairo] __visibility__ bug fix
Keith Packard
keithp at keithp.com
Mon Dec 20 19:59:40 PST 2004
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);
>
> This works for me with gcc 3.4 and 2.96, and it has the storage
> specifiers grouped together at the beginning of the line.
And would let us use a simple #define for symbols private to cairo but
which need to be extern as they are shared among multiple files.
Something like
cairo_private cairo_gstate_t *
_cairo_gstate_create (void);
Question -- do we need to have 'extern' here? It's normally superfluous in
function declarations.
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20041220/4b432ad4/attachment.pgp
More information about the cairo
mailing list