[cairo] "export" annotations on public APIs
Robert O'Callahan
rocallahan at gmail.com
Wed Apr 20 20:59:12 PDT 2005
Integrating Cairo into Mozilla, we've run into a problem building Cairo as a
shared library --- there are no annotations to indicate which functions
should be exported from a shared library, when building on a platform that
doesn't export all symbols by default. This affects not only Win32, but now
also gcc4 when we use "#pragma GCC visibility" to hide internal symbols.
Would a patch that adds a CAIRO_EXPORT macro to all public functions (by
default, defined to nothing) be looked upon favourably?
Rob
--
["Therefore, my dear friends, as you have always obeyed–not only in my
presence, but now much more in my absence–continue to work out your
salvation with fear and trembling, for it is God who works in you to will
and to act according to his good purpose." Philippians 2:12-13.]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/cairo/attachments/20050421/81ba894f/attachment.htm
More information about the cairo
mailing list